Skip to content

Commit 0d26b5f

Browse files
committed
added support for the cloudsqlpostgres driver
1 parent 05cef07 commit 0d26b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bind.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const (
2121
// BindType returns the bindtype for a given database given a drivername.
2222
func BindType(driverName string) int {
2323
switch driverName {
24-
case "postgres", "pgx", "pq-timeouts":
24+
case "postgres", "pgx", "pq-timeouts", "cloudsqlpostgres":
2525
return DOLLAR
2626
case "mysql":
2727
return QUESTION

0 commit comments

Comments
 (0)