optional boolean
Promise
Gets the underlying Database API
any
Gets the callback stacktrace to determine what opened this connection. Useful for debugging lingering connections.
string - A stacktrace
Returns the current timeout setting
number in milliseconds
Returns true if the connection has been closed.
Returns true if connection was created without write access
boolean
Queries the database for a dataset.
The database query
Parameters for the query
Promise
Sets the timeout of this connectino
in milliseconds
The database query
Parameters for the query
Stream options
Readable
Generated using TypeDoc
Closes the connection. May error if connection has an active transaction. if
forceClose
boolean is true, it will force close the connection, regardless of transaction state.