Skip to content

Is production ready with pgbouncer + postgres? #1216

Answered by stephenafamo
budibong asked this question in Q&A
Discussion options

You must be logged in to vote

Because pgx.Conn has query and exec methods that don't return *sql.Rows (they return *pgx.Rows) then it does not satisfy the interface that the generated SQLBoiler code expects to query with.

You can use the stdlib adapter from pgx (<github.com/jackc/pgx/v5/stdlib>).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@stephenafamo
Comment options

Answer selected by stephenafamo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants