SqlDatabase<B extends Backend> constructor
SqlDatabase<B extends Backend> (
- Driver<
B> driver, { - void onQuery()?,
- void onAcquire()?,
Takes ownership of driver; close the root database to release it.
Implementation
SqlDatabase(this.driver, {this.onQuery, this.onAcquire})
: _changeListeners = {},
_connection = null,
_transaction = false,
_control = null;