SonicDbBase class abstract
Constructors
Properties
-
entities
→ Map<
String, dynamic> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- opened → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useDeviceProtectedStorage ↔ bool
-
getter/setter pair
- version → int
-
final
Methods
-
close(
) → Future -
delete(
String table, {String? whereClause}) → Future -
ensureInitialized(
) → void -
init(
) → Future -
insert(
String table, Map data) → Future -
insertAll(
String table, List< Map> data, {bool replaceOnConflict = false}) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onCreate(
) → void -
onUpgrade(
) → void -
open(
{bool singleInstance = true}) → Future -
query(
String query, {Map? entity}) → Future -
toString(
) → String -
A string representation of this object.
inherited
-
update(
String table, Map value, String whereClause) → Future< bool>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited