(DBObject)
(Changed in version 2.8.0) +
creates a new map. Use +=
to add an element to this map and return that map itself.
(Changed in version 2.8.0) +
creates a new map. Use +=
to add an element to this map and return that map itself.
(Changed in version 2.8.0) ++
creates a new map. Use ++=
to add an element to this map and return that map itself.
(Changed in version 2.8.0) -
creates a new map. Use -=
to remove an element from this map and return that map itself.
(Changed in version 2.8.0) -
creates a new map. Use -=
to remove an element from this map and return that map itself.
(Changed in version 2.8.0) --
creates a new map. Use --=
to remove an element from this map and return that map itself.
cursor
cursor
The cursor type for the query
indexBounds
indexBounds
the index boundaries this query used.
(Changed in version 2.8.0) keys
returns Iterable[A]
rather than Iterator[A]
.
millis
millis
The number of milliseconds the query took to execute
n
n
a Long value of the number of objects which Mongo returned
nYields
nYields
A long value of the number of times the query yielded the read lock to let writes in
nscanned
nscanned
Number of items examined by Mongo for this query. Items could be objects or index keys---if a "covered" index is involved, nscanned may be higher than nscannedObjects
a Long value indicating 'nscanned'
nscannedObjects
nscannedObjects
a Long value of # objects examined by Mongo for this query.
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
(DBObject)
(DBObject)
(Changed in version 2.8.0) values
returns Iterable[B]
rather than Iterator[B]
.
(Since version 2.10.0) use fold instead
(Since version 2.0) containsKey is deprecated in the MongoDB Driver. You should use containsField instead.
1.0, 12/15/10
2.0
http://dochub.mongodb.org/core/explain