MobMongo class

Constructors

MobMongo()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Properties

platformVersion Future<String>
read-only

Static Methods

addToArray(Carrier carrier) Future
add to nested array in document
delete(Carrier carrier) Future
delete one document from 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
"atlas"
CARRIER_COLLECTION → const String
"collection"
CARRIER_DATABASE → const String
"db"
LOCAL_DATABASE → const String
"local"
MONGO_CHANGE_EVENTS → const String
'mongo_change_events'