createConnection method

  1. @override
DBSQLiteConnectionWrapper createConnection()
override

Creates a connection C for this adapte

Implementation

@override
DBSQLiteConnectionWrapper createConnection() {
  var count = ++_connectionCount;

  var connWrapper = _DBSQLiteConnectionWrapped(_openDatabase(), this);

  _log.info(
    'createConnection[#$count $poolAliveElementsSize/$maxConnections]> '
    '${getConnectionURL(connWrapper)}',
  );

  return connWrapper;
}