SqfliteFfiDatabase class

Ffi database

Constructors

SqfliteFfiDatabase(int id, Database _ffiDb, {required bool singleInstance, required String? path, required bool readOnly, required int logLevel})
ffi database.

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
id.
final
logLevel int
Log level.
final
path String?
Path.
final
readOnly bool
If read-only
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
singleInstance bool
Whether it is single instance.
final

Methods

close() → void
Close the database.
getLastInsertId() int?
Last insert id.
getUpdatedRows() int
Return the count of updated row.
handleExecute({required String sql, List? sqlArguments}) Future
Handle execute.
handleQuery({required String sql, List? sqlArguments}) Future
Query handling.
logResult({String? result}) → void
Log the result if needed.
logSql({required String sql, List? sqlArguments, String? result}) → void
Log the sql statement if needed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDebugMap() Map<String, Object?>
Debug map.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited