rightfold / purescript-postgresql-client

https://pursuit.purescript.org/packages/purescript-postgresql-client
BSD 3-Clause "New" or "Revised" License
35 stars 20 forks source link

Provide a way to use `Pool.query` directly #52

Closed paluh closed 2 years ago

paluh commented 3 years ago

Pool instance from pg provides a way to query db without separate connection: https://node-postgres.com/api/pool#poolquery . We should expose this as this can be really useful and efficient way to work with db when transaction is not required.

paluh commented 2 years ago

Done on the v4.0.0-pre branch.