open method

Future<OpenedDriftConnection> open([
  1. DriftDialect? resolvedDialect
])

Opens the connection.

The returned implementation should eventually be closed to avoid leaking resources.

Implementation

Future<OpenedDriftConnection> open([DriftDialect? resolvedDialect]) async {
  return await _openConnection(resolvedDialect ?? dialect(const {}));
}