Skip to content

Expose Connection acquire #441

Description

@cranst0n

Would it be possible to add a function that would return a raw connection as opposed to the withConnection function? This would obviously come with ultimate responsibility on the caller to properly release the acquired connection. The notional acquire function could return the connection as well as a function that could be called to release the connection.

I have my own resource safety mechanism that won't fit with the existing API.

Thanks for your time and effort.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions