2
0

fix OpenDBFromPool example

This commit is contained in:
Chris Frank
2024-01-09 12:57:03 -05:00
committed by Jack Christensen
parent 1fdd17041a
commit 9346d48035
+1 -4
View File
@@ -21,10 +21,7 @@
// return err // return err
// } // }
// //
// db, err := stdlib.OpenDBFromPool(pool) // db := stdlib.OpenDBFromPool(pool)
// if err != nil {
// return err
// }
// //
// Or a pgx.ConnConfig can be used to set configuration not accessible via connection string. In this case the // Or a pgx.ConnConfig can be used to set configuration not accessible via connection string. In this case the
// pgx.ConnConfig must first be registered with the driver. This registration returns a connection string which is used // pgx.ConnConfig must first be registered with the driver. This registration returns a connection string which is used