Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Review database pool abstraction #487

@aumetra

Description

@aumetra

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions