com.mongodb.casbah.query

Implicits

object Implicits extends Implicits with Implicits

Source
Implicits.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Implicits
  2. Implicits
  3. Implicits
  4. FluidQueryBarewordOps
  5. BitOp
  6. NorOp
  7. ArrayOps
  8. PullAllOp
  9. PullOp
  10. PopOp
  11. AddToSetOp
  12. PushAllOp
  13. PushOp
  14. RenameOp
  15. OrOp
  16. IncOp
  17. UnsetOp
  18. SetOp
  19. BarewordQueryOperator
  20. Logging
  21. AnyRef
  22. Any
Visibility
  1. Public
  2. All

Type Members

  1. type JSFunction = String

    Definition Classes
    Implicits

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def $addToSet : ((String, Any)*) ⇒ DBObject

    Definition Classes
    AddToSetOp
  5. def $addToSet (field: String): AnyRef { ... /* 2 definitions in type refinement */ }

    Definition Classes
    AddToSetOp
  6. def $addToSet [T] (arg: T)(implicit arg0: (T) ⇒ DBObject): DBObject

    Definition Classes
    AddToSetOp
  7. def $bit (field: String): AnyRef { ... /* 2 definitions in type refinement */ }

    Definition Classes
    BitOp
  8. def $inc [T] (args: (String, T)*)(implicit arg0: ValidNumericType[T]): DBObject

    Definition Classes
    IncOp
  9. def $nor (inner: ⇒ DBObject): DBObject

    ValueTest enabled version

    ValueTest enabled version

    Definition Classes
    NorOp
  10. def $or (fields: (String, Any)*): DBObject

    Definition Classes
    OrOp
  11. def $pop [T] (args: (String, T)*)(implicit arg0: ValidNumericType[T]): DBObject

    Definition Classes
    PopOp
  12. def $pull (inner: DBObject): DBObject

    Definition Classes
    PullOp
  13. def $pull (inner: ⇒ DBObject): DBObject

    ValueTest enabled version

    ValueTest enabled version

    Definition Classes
    PullOp
  14. def $pull : ((String, Any)*) ⇒ DBObject

    Definition Classes
    PullOp
  15. def $pullAll [A] (args: (String, A)*)(implicit arg0: Manifest[A]): DBObject

    Definition Classes
    PullAllOp
  16. def $push : ((String, Any)*) ⇒ DBObject

    Definition Classes
    PushOp
  17. def $pushAll [A] (args: (String, A)*)(implicit arg0: Manifest[A]): DBObject

    Definition Classes
    PushAllOp
  18. def $rename : ((String, Any)*) ⇒ DBObject

    Definition Classes
    RenameOp
  19. def $set : ((String, Any)*) ⇒ DBObject

    Definition Classes
    SetOp
  20. def $unset (args: String*): DBObject

    Definition Classes
    UnsetOp
  21. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  22. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  23. def apply [A] (oper: String)(fields: (String, A)*): DBObject

    Definition Classes
    BarewordQueryOperator
  24. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  25. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  26. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  27. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  28. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  30. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  31. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  32. var log : Logger

    Attributes
    protected[casbah]
    Definition Classes
    Logging
  33. implicit def map2MongoDBObject (map: Map[String, Any]): DBObject

    Attributes
    implicit
    Definition Classes
    Implicits
  34. implicit def mapAsDBObject (map: Map[String, Any]): AnyRef { def asDBObject: com.mongodb.DBObject }

    Implicit extension methods for Scala Map[String, Any] to convert to Mongo DBObject instances.

    Implicit extension methods for Scala Map[String, Any] to convert to Mongo DBObject instances. Does not currently convert nested values.

    map

    A map of [String, Any]

    Attributes
    implicit
    Definition Classes
    Implicits
  35. implicit def mongoNestedDBObjectQueryStatements (nested: DBObject with DSLDBObject): ValueTestFluidQueryOperators

    Implicit extension methods for Tuple2[String, DBObject] values to add Mongo's query operators, minimizing the need to write long series' of nested maps.

    Implicit extension methods for Tuple2[String, DBObject] values to add Mongo's query operators, minimizing the need to write long series' of nested maps.

    Mixes in the QueryOperators defined in the QueryOperators mixin. The NestedQuery implicits allows you to call chained operators on the return value of the base String method method. Chained operators will place the subsequent operators within the same DBObject, e.g. "fooDate" $lte yesterday $gte tomorrow maps to a Mongo query of: {"fooDate": {"$lte": , "$gte": }}

    returns

    Tuple2[String, DBObject] A tuple containing the field name and the mapped operator value, suitable for instantiating a Map

    Attributes
    implicit
    Definition Classes
    Implicits
  36. implicit def mongoQueryStatements (left: String): FluidQueryOperators

    Implicit extension methods for String values (e.

    Implicit extension methods for String values (e.g. a field name) to add Mongo's query operators, minimizing the need to write long series' of nested maps.

    Mixes in the QueryOperators defined in the QueryOperators mixin. The NestedQuery implicit [Defined below] allows you to call chained operators on the return value of this method. Chained operators will place the subsequent operators within the same DBObject, e.g. "fooDate" $lte yesterday $gte tomorrow maps to a Mongo query of: {"fooDate": {"$lte": , "$gte": }}

    left

    A string which should be the field name, the left hand of the query

    returns

    Tuple2[String, DBObject] A tuple containing the field name and the mapped operator value, suitable for instantiating a Map

    Attributes
    implicit
    Definition Classes
    Implicits
  37. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  38. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  39. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  40. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  41. def toString (): String

    Definition Classes
    AnyRef → Any
  42. implicit def tupleToGeoCoords [A, B] (coords: (A, B))(implicit arg0: ValidNumericType[A], arg1: Manifest[A], arg2: ValidNumericType[B], arg3: Manifest[B]): GeoCoords[A, B]

    Attributes
    implicit
    Definition Classes
    Implicits
  43. implicit def unwrapDBList (in: MongoDBList): BasicDBList

    Attributes
    implicit
    Definition Classes
    Implicits
  44. implicit def unwrapDBObj (in: MongoDBObject): DBObject

    Attributes
    implicit
    Definition Classes
    Implicits
  45. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  46. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  47. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  48. implicit def wrapDBList (in: BasicDBList): MongoDBList

    Attributes
    implicit
    Definition Classes
    Implicits
  49. implicit def wrapDBObj (in: DBObject): MongoDBObject

    Attributes
    implicit
    Definition Classes
    Implicits

Inherited from Implicits

Inherited from Implicits

Inherited from FluidQueryBarewordOps

Inherited from BitOp

Inherited from NorOp

Inherited from ArrayOps

Inherited from PullAllOp

Inherited from PullOp

Inherited from PopOp

Inherited from AddToSetOp

Inherited from PushAllOp

Inherited from PushOp

Inherited from RenameOp

Inherited from OrOp

Inherited from IncOp

Inherited from UnsetOp

Inherited from SetOp

Inherited from BarewordQueryOperator

Inherited from Logging

Inherited from AnyRef

Inherited from Any