Skip to content

Make client._queryable public #2026

Closed
Closed
@tmtron

Description

@tmtron

Could you make client._queryable public?

i.e. I know that we can already access this variable, but I guess the _ indicates that we shouldn't, and that this is an implementation detail, that can go away anytime.

The use-case is that users of the lib (e.g. pg-promise), can use this info to decide if the client can be reused (e.g. released back to the pool) or if it is broken and should be killed.

Refrence to issue #680 of pg-promise

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