open abstract method
Opens the database. Drift will only call this when isOpen has returned false before. Further, drift will not attempt to open a database multiple times, so you don't have to worry about a connection being created multiple times.
The QueryExecutorUser is the user-defined database annotated with DriftDatabase. It might be useful to read the QueryExecutorUser.schemaVersion if that information is required while opening the database.
Implementation
Future<void> open(QueryExecutorUser db);