DatabaseStorageKit class

Constructors

DatabaseStorageKit({DBTableModel table})

Properties

dbReady bool
read-only
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
table DBTableModel
final

Methods

clearTable() Future<int>
Clear records from table
deleteRecord({String where, List whereArgs}) Future<int>
Delete record
dropTable() Future<void>
Drop table
getRecords({String where, List whereArgs, int limit, int offset, String order}) Future<List<Map<String, dynamic>>>
Read records
initDB() Future<Null>
Initialize Database
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
setRecord(DBRecord r, {bool updateIfExists, ConflictAlgorithm conflictAlgorithm}) Future<int>
Set / update record
toString() String
A string representation of this object.
inherited

Operators

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