Created
October 20, 2018 13:23
-
-
Save LinuxMatt/6e7e89d81b910d3a2a158d0e067bbeee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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