From ed7c52c43ee1e12a35efbcfea8dbae2d62a90370 Mon Sep 17 00:00:00 2001 From: LinuxMatt Date: Tue, 23 Oct 2018 13:47:47 +0200 Subject: [PATCH] Support prepared statements on cznic/ql database --- bind.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bind.go b/bind.go index 0a48252a..a3fc22cf 100644 --- a/bind.go +++ b/bind.go @@ -23,7 +23,7 @@ const ( // BindType returns the bindtype for a given database given a drivername. func BindType(driverName string) int { switch driverName { - case "postgres", "pgx", "pq-timeouts", "cloudsqlpostgres": + case "postgres", "pgx", "pq-timeouts", "cloudsqlpostgres", "ql": return DOLLAR case "mysql": return QUESTION