openNativeConnection method
Opens a new native Database connection and runs pragma statements via configureConnection.
Implementation
sqlite.Database openNativeConnection(SqliteOpenOptions options) {
final mode = options.openMode;
final db = sqlite.sqlite3.open(path, mode: mode, mutex: false);
try {
configureConnection(db, options);
} on Object {
db.close();
rethrow;
}
return db;
}