-
awaitData
↔ bool
-
If we are at the end of the data, block for a while rather than returning no data.
After a timeout period, we do return as normal, only applicable for tailable cursor.
getter/setter pairinherited
-
collection
↔ DbCollection?
-
getter/setter pairinherited
-
cursorId
↔ int
-
getter/setter pairinherited
-
db
↔ Db
-
getter/setter pairinherited
-
eachCallback
↔ MonadicBlock?
-
getter/setter pairinherited
-
exhaust
↔ bool
-
Stream the data down full blast in multiple “more” packages,
on the assumption that the client will fully read all data queried.
Faster when you are pulling a lot of data and know you want to pull it all down.
Note: the client is not allowed to not read all the data unless it closes the connection.
getter/setter pairinherited
-
explain
↔ bool
-
getter/setter pairinherited
-
fields
↔ Map<String, dynamic>?
-
getter/setter pairinherited
-
firstBatch
↔ bool
-
getter/setter pairinherited
-
flags
↔ int
-
getter/setter pairinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
hint
↔ Map<String, dynamic>?
-
getter/setter pairinherited
-
items
↔ Queue<Map<String, dynamic>>
-
getter/setter pairinherited
-
limit
↔ int
-
getter/setter pairinherited
-
partial
↔ bool
-
Get partial results from a mongos if some shards are down (instead of throwing an error)
getter/setter pairinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
selector
↔ Map<String, dynamic>
-
getter/setter pairinherited
-
skip
↔ int
-
getter/setter pairinherited
-
slaveOk
↔ bool
-
Allow query of replica slave. Normally these return an error except for namespace “local”.
getter/setter pairinherited
-
sort
↔ Map<String, dynamic>?
-
getter/setter pairinherited
-
state
↔ State
-
getter/setter pairinherited
-
stream
→ Stream<Map<String, dynamic>>
-
no setterinherited
-
tailable
↔ bool
-
Tailable means cursor is not closed when the last data is retrieved
getter/setter pairinherited
-
tailableRetryInterval
↔ int
-
Specify the miliseconds between getMore on tailable cursor, only applicable when awaitData isn't set.
Default value is 100 ms
getter/setter pairinherited
-
timeout
↔ bool
-
The server normally times out idle cursors after an inactivity period (10 minutes)
to prevent excess memory use. Unset this option to prevent that.
getter/setter pairinherited