StorageInterface class abstract
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cleanup(
) → Future - condense storage
-
close(
) → Future - close storage
-
find(
Map query, [Filter filter = Filter.all]) → Future< Stream< Map> > - retrieve entries
-
insert(
Map data) → Future< ObjectId> - insert entry
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
[int version = 1]) → Future< Meta> - open/initialize storage
-
remove(
Map query) → Future - remove entries
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
Map query, Map changes, [bool replace = false]) → Future - update entries
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
applyUpdate(
Map entry, Map changes, [bool replace = false]) → Map - apply update to single entry (internal)