com.mongodb.casbah.query

Implicits

trait Implicits extends FluidQueryBarewordOps

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

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 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
  34. 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
  35. def ne (arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  40. 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
  41. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

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