mirror of https://github.com/AMT-Cheif/drift.git
Expose the underlying sqflite database object
This commit is contained in:
parent
ff95fc2895
commit
c924990bc8
|
@ -188,4 +188,10 @@ class FlutterQueryExecutor extends DelegatedDatabase {
|
|||
_SqfliteDelegate(true, path,
|
||||
singleInstance: singleInstance, creator: creator),
|
||||
logStatements: logStatements);
|
||||
|
||||
/// The underlying sqflite [s.Database] object
|
||||
s.Database get sqfliteDb {
|
||||
final sqfliteDelegate = delegate as _SqfliteDelegate;
|
||||
return sqfliteDelegate.db;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue