You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to close mysql connection, I'm using Knex as an abstraction above it.
Knex has destroy method.
Instead of saving a list of services which should be terminated (and each time add new one) it is better to allow to pass a method which can return a promise, and inside, it will do it's cleanup.
The text was updated successfully, but these errors were encountered:
I want to close mysql connection, I'm using Knex as an abstraction above it.
Knex has
destroy
method.Instead of saving a list of services which should be terminated (and each time add new one) it is better to allow to pass a method which can return a promise, and inside, it will do it's cleanup.
The text was updated successfully, but these errors were encountered: