DataStoreRemote class
An implementation of DataStore that uses MongoDb.
Constructors
-
DataStoreRemote(Map<
Type, ClassInfo> classInfoMap)
Properties
-
classInfoMap
→ Map<
Type, ClassInfo> -
finalinherited
- db ↔ Db
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
classInfo<
T> () → ClassInfo< T> -
The classInfoMap containing the ClassInfo for models which may be
stored in the datastore.
inherited
-
close(
) → Future< void> -
Subclasses must implement this to close the datastore.
override
-
collection<
T> () → Collection< T> -
Subclasses must implement this to return a collection for the given type.
Collection is the main interace for querying and updating a given
collection/table in the datastore.
override
-
init(
) → Future< void> -
Subclasses must implement this to initialize the datastore.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited