MobMongo class
Constructors
- MobMongo()
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
-
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
Static Properties
-
platformVersion
→ Future<
String> -
no setter
Static Methods
-
addToArray(
Carrier carrier) → Future - add to nested array in document
-
createIndex(
Carrier carrier) → Future - createIndex - create index on specified collection
-
delete(
Carrier carrier) → Future - delete one document from collection
-
deleteMany(
Carrier carrier) → Future - deleteMany - delete all docs in collection
-
getAll(
Carrier carrier) → Future - getAll - get all documents from collection
-
getOne(
Carrier carrier) → Future - find one document from collection
-
insert(
Carrier carrier) → Future - insert one document intp collection
-
query(
Carrier carrier) → Future - query - get documents based on properties
-
setAppID(
dynamic config) → Future< String> - set MongoDB appID
-
sync(
Carrier carrier) → Future - start atlas sync collection
-
update(
Carrier carrier) → Future - replace one document in collection
Constants
- ATLAS_DATABASE → const String
- CARRIER_COLLECTION → const String
- CARRIER_DATABASE → const String
- LOCAL_DATABASE → const String
- MONGO_CHANGE_EVENTS → const String