close method
Closes all active database connections.
Implementation
Future close() => Future.wait(_connections.map<Future>((c) => c.close()))
.then((_) => _pool.close());
Closes all active database connections.
Future close() => Future.wait(_connections.map<Future>((c) => c.close()))
.then((_) => _pool.close());