How to listen to connection status? #174
Unanswered
adlanarifzr
asked this question in
General
Replies: 1 comment
-
This is all handled by knex, also there is a pool of connections, its not a single connection, so listening to such events does not make much sense to me (if they even exist - I would say there will be hooks for creating and destroying connections from pool instead of that). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am looking for a way to listen to database connection status like "Connected" or "Disconnected" or "Reconnecting" or others. How am I supposed to do this? I did not find any way in the documentation.
Beta Was this translation helpful? Give feedback.
All reactions