FindAndModifyResult class

Constructors

FindAndModifyResult(Map<String, dynamic> document)

Properties

$clusterTime ↔ $ClusterTime?
getter/setter pairinherited
code int?
getter/setter pairinherited
codeName String?
getter/setter pairinherited
errmsg String?
Optional error fields
getter/setter pairinherited
failure bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
lastErrorObject ↔ LastErrorObject?
getter/setter pair
ok double
Command status (1.0 Ok, 0.0 error)
getter/setter pairinherited
operationTime DateTime?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverResponse Map<String, dynamic>
This is the original response from the server;
getter/setter pair
success bool
no setterinherited
value Map<String, dynamic>?
Contains the command’s returned value. For remove operations, value contains the removed document if the query matches a document. If the query does not match a document to remove, value contains null.
getter/setter pair

Methods

extractBasic(Map<String, dynamic> document) → void
inherited
extractTiming(Map<String, dynamic> document) → void
inherited
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