You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
Our abstration right now adds an additional layer of indentation in most cases which isn't really needed. The only instance we would need these closures is if you want to pipeline your queries (since you need them to share the same connection to actually pipeline).
For most other cases it would actually be more ergonomic to allow the pool to be used just like a connection. That way we only borrow a connection as long as we need to and avoid the level of indentation.
Our abstration right now adds an additional layer of indentation in most cases which isn't really needed. The only instance we would need these closures is if you want to pipeline your queries (since you need them to share the same connection to actually pipeline).
For most other cases it would actually be more ergonomic to allow the pool to be used just like a connection. That way we only borrow a connection as long as we need to and avoid the level of indentation.