2
0

More doc improvements

This commit is contained in:
Jack Christensen
2022-07-23 09:29:25 -05:00
parent e487ab0886
commit 3595561d9a
3 changed files with 72 additions and 127 deletions
+2 -2
View File
@@ -27,8 +27,8 @@
//
// db.QueryRow("select * from users where id=$1", userID)
//
// In Go 1.13 and above (*sql.Conn) Raw() can be used to get a *pgx.Conn from the standard database/sql.DB connection
// pool. This allows operations that use pgx specific functionality.
// (*sql.Conn) Raw() can be used to get a *pgx.Conn from the standard database/sql.DB connection pool. This allows
// operations that use pgx specific functionality.
//
// // Given db is a *sql.DB
// conn, err := db.Conn(context.Background())