Skip to content

Instantly share code, notes, and snippets.

@LinuxMatt
Created October 20, 2018 13:23
Show Gist options
  • Save LinuxMatt/6e7e89d81b910d3a2a158d0e067bbeee to your computer and use it in GitHub Desktop.
Save LinuxMatt/6e7e89d81b910d3a2a158d0e067bbeee to your computer and use it in GitHub Desktop.
diff --git a/bind.go b/bind.go
index 0a48252..a3fc22c 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment