Skip to content

Commit

Permalink
fix OpenDBFromPool example
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfrank authored and jackc committed Jan 13, 2024
1 parent 1fdd170 commit 9346d48
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions stdlib/sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
// return err
// }
//
// db, err := stdlib.OpenDBFromPool(pool)
// if err != nil {
// return err
// }
// db := stdlib.OpenDBFromPool(pool)
//
// 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
Expand Down

0 comments on commit 9346d48

Please sign in to comment.