(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.
Returns a new list with this MongoDBObject at the *end* Currently only supports composing with other DBObjects, primarily for the use of the Query DSL; if you want heterogenous lists, use MongoDBList directly.
Returns a new list with this MongoDBObject at the *end* Currently only supports composing with other DBObjects, primarily for the use of the Query DSL; if you want heterogenous lists, use MongoDBList directly.
MongoDBList
Returns a new list with this MongoDBObject at the *end* Currently only supports composing with other DBObjects, primarily for the use of the Query DSL; if you want heterogenous lists, use MongoDBList directly.
Returns a new list with this MongoDBObject at the *end* Currently only supports composing with other DBObjects, primarily for the use of the Query DSL; if you want heterogenous lists, use MongoDBList directly.
MongoDBList
as
as
Works like apply(), unsafe, bare return of a value. Returns default if nothing matching is found, else tries to cast a value to the specified type.
Unless you overrode it, default throws a NoSuchElementException
(String)
(A)
Utility method to emulate javascript dot notation Designed to simplify the occasional insanity of working with nested objects.
Utility method to emulate javascript dot notation Designed to simplify the occasional insanity of working with nested objects. Your type parameter must be that of the item at the bottom of the tree you specify... If cast fails - it's your own fault.
Lazy utility method to allow typing without conflicting with Map's required get() method and causing ambiguity
(Changed in version 2.8.0) keys
returns Iterable[A]
rather than Iterator[A]
.
(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.
(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.
MapLike scala interface for Mongo DBObjects - proxies an existing DBObject. Cannot act as a DBObject or implement it's interface due to conflicts between the java methods and scala methods. Implicits and explicit methods allow you to convert to java though.
We will likely reimplement DBObject itself longterm as a pure base. on the wire format
1.0