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
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