com.mongodb.casbah

query

package query

Visibility
  1. Public
  2. All
Impl.
  1. Concrete
  2. Abstract

Type Members

  1. trait AsIterable [A] extends AnyRef

  2. trait AsQueryParam [A] extends AnyRef

  3. trait BaseImports extends AnyRef

  4. type BasicDBList = BasicDBList

    definition classes: TypeImports
  5. type BasicDBObject = BasicDBObject

    definition classes: TypeImports
  6. type DBObject = DBObject

    definition classes: TypeImports
  7. type DBRef = DBRef

    definition classes: TypeImports
  8. trait Exports extends AnyRef

  9. type GeoCoords = com.mongodb.casbah.query.dsl.GeoCoords[_, _]

    definition classes: TypeImports
  10. trait Implicits extends AnyRef

  11. trait Imports extends FluidQueryBarewordOps with BaseImports with TypeImports with Implicits with Imports with Exports with ValidBarewordExpressionArgTypeHolder with ValidDateTypeHolder with ValidNumericTypeHolder with ValidDateOrNumericTypeHolder

  12. type JSFunction = String

    definition classes: Implicits
  13. type MongoDBList = MongoDBList

    definition classes: Exports
  14. type MongoDBObject = MongoDBObject

    definition classes: Exports
  15. type MongoException = MongoException

    definition classes: TypeImports
  16. type ObjectId = ObjectId

    definition classes: TypeImports
  17. trait TypeImports extends AnyRef

  18. trait ValidBarewordExpressionArgType [T] extends AnyRef

  19. trait ValidBarewordExpressionArgTypeHolder extends AnyRef

  20. trait ValidDateOrNumericType [T] extends AnyRef

  21. trait ValidDateOrNumericTypeHolder extends AnyRef

  22. trait ValidDateType [T] extends AnyRef

  23. trait ValidDateTypeHolder extends AnyRef

  24. trait ValidNumericType [T] extends AnyRef

  25. trait ValidNumericTypeHolder extends AnyRef

Value Members

  1. def $addToSet : ((String, Any)*) ⇒ DBObject

    definition classes: AddToSetOp
  2. def $addToSet (field: String) : AnyRef {...}

    definition classes: AddToSetOp
  3. def $addToSet [T] (arg: T)(implicit arg0: (T) ⇒ DBObject) : DBObject

    definition classes: AddToSetOp
  4. def $and : NestedBarewordListOperator

    definition classes: AndOp
  5. def $bit (field: String) : AnyRef {...}

    definition classes: BitOp
  6. def $inc [T] (args: (String, T)*)(implicit arg0: ValidNumericType[T]) : DBObject

    definition classes: IncOp
  7. def $nor : NestedBarewordListOperator

    definition classes: NorOp
  8. def $or : NestedBarewordListOperator

    definition classes: OrOp
  9. def $pop [T] (args: (String, T)*)(implicit arg0: ValidNumericType[T]) : DBObject

    definition classes: PopOp
  10. def $pull (inner: DBObject) : DBObject

    definition classes: PullOp
  11. def $pull (inner: ⇒ DBObject) : DBObject

    definition classes: PullOp
  12. def $pull : ((String, Any)*) ⇒ DBObject

    definition classes: PullOp
  13. def $pullAll [A] (args: (String, A)*)(implicit arg0: AsIterable[A]) : DBObject

    definition classes: PullAllOp
  14. def $push : ((String, Any)*) ⇒ DBObject

    definition classes: PushOp
  15. def $pushAll [A] (args: (String, A)*)(implicit arg0: AsIterable[A]) : DBObject

    definition classes: PushAllOp
  16. def $rename : ((String, Any)*) ⇒ DBObject

    definition classes: RenameOp
  17. def $set : ((String, Any)*) ⇒ DBObject

    definition classes: SetOp
  18. def $unset : (String*) ⇒ DBObject

    definition classes: UnsetOp
  19. object AsIterable extends AnyRef

  20. object AsQueryParam extends AnyRef

  21. object BigDecimalDoNOk extends ValidDateOrNumericType[BigDecimal]

    attributes: implicit
  22. object BigDecimalOk extends BigDecimalOk

    attributes: implicit
  23. object BigIntDoNOk extends ValidDateOrNumericType[BigInt]

    attributes: implicit
  24. object BigIntOk extends BigIntOk

    attributes: implicit
  25. object ByteDoNOk extends ValidDateOrNumericType[Byte]

    attributes: implicit
  26. object ByteOk extends ByteOk

    attributes: implicit
  27. object ConcreteDBObjectOk extends ConcreteDBObject

    attributes: implicit
  28. object CoreOperatorResultObjOk extends CoreOperatorResultObj

    attributes: implicit
  29. val DBList : com.mongodb.casbah.commons.MongoDBList.type

    definition classes: BaseImports
  30. val DBObject : com.mongodb.casbah.commons.MongoDBObject.type

    definition classes: BaseImports
  31. object DoubleDoNOk extends ValidDateOrNumericType[Double]

    attributes: implicit
  32. object DoubleOk extends DoubleOk

    attributes: implicit
  33. object FloatDoNOk extends ValidDateOrNumericType[Float]

    attributes: implicit
  34. object FloatOk extends FloatOk

    attributes: implicit
  35. val GeoCoords : com.mongodb.casbah.query.dsl.GeoCoords.type

    definition classes: BaseImports
  36. object IntDoNOk extends ValidDateOrNumericType[Int]

    attributes: implicit
  37. object IntOk extends IntOk

    attributes: implicit
  38. object JDKDateDoNOk extends ValidDateOrNumericType[Date]

    attributes: implicit
  39. object JDKDateOk extends JDKDateOk

    attributes: implicit
  40. object JodaDateTimeDoNOk extends ValidDateOrNumericType[DateTime]

    attributes: implicit
  41. object JodaDateTimeOk extends JodaDateTimeOk

    attributes: implicit
  42. object LongDoNOk extends ValidDateOrNumericType[Long]

    attributes: implicit
  43. object LongOk extends LongOk

    attributes: implicit
  44. val MongoDBList : com.mongodb.casbah.commons.MongoDBList.type

    definition classes: Exports
  45. val MongoDBObject : com.mongodb.casbah.commons.MongoDBObject.type

    definition classes: Exports
  46. object ShortDoNOk extends ValidDateOrNumericType[Short]

    attributes: implicit
  47. object ShortOk extends ShortOk

    attributes: implicit
  48. object ValidTypes extends AnyRef

  49. def _addToSet : ((String, Any)*) ⇒ DBObject

    attributes: protected
    definition classes: AddToSetOpBase
  50. def _addToSet (field: String) : AnyRef {...}

    attributes: protected
    definition classes: AddToSetOpBase
  51. def _addToSet [T] (arg: T)(implicit arg0: (T) ⇒ DBObject) : DBObject

    attributes: protected
    definition classes: AddToSetOpBase
  52. def _and : NestedBarewordListOperator

    attributes: protected
    definition classes: AndOpBase
  53. def _bit (field: String) : AnyRef {...}

    attributes: protected
    definition classes: BitOpBase
  54. def _inc [T] (args: (String, T)*)(implicit arg0: ValidNumericType[T]) : DBObject

    attributes: protected
    definition classes: IncOpBase
  55. def _nor : NestedBarewordListOperator

    attributes: protected
    definition classes: NorOpBase
  56. def _or : NestedBarewordListOperator

    attributes: protected
    definition classes: OrOpBase
  57. def _pop [T] (args: (String, T)*)(implicit arg0: ValidNumericType[T]) : DBObject

    attributes: protected
    definition classes: PopOpBase
  58. def _pull (inner: DBObject) : DBObject

    attributes: protected
    definition classes: PullOpBase
  59. def _pull (inner: ⇒ DBObject) : DBObject

    ValueTest enabled version

    ValueTest enabled version

    attributes: protected
    definition classes: PullOpBase
  60. def _pull : ((String, Any)*) ⇒ DBObject

    attributes: protected
    definition classes: PullOpBase
  61. def _pullAll [A] (args: (String, A)*)(implicit arg0: AsIterable[A]) : DBObject

    attributes: protected
    definition classes: PullAllOpBase
  62. def _push : ((String, Any)*) ⇒ DBObject

    attributes: protected
    definition classes: PushOpBase
  63. def _pushAll [A] (args: (String, A)*)(implicit arg0: AsIterable[A]) : DBObject

    attributes: protected
    definition classes: PushAllOpBase
  64. def _rename : ((String, Any)*) ⇒ DBObject

    attributes: protected
    definition classes: RenameOpBase
  65. def _set : ((String, Any)*) ⇒ DBObject

    attributes: protected
    definition classes: SetOpBase
  66. def _unset (args: String*) : DBObject

    attributes: protected
    definition classes: UnsetOpBase
  67. def apply [A] (oper: String)(fields: (String, A)*) : DBObject

    definition classes: BarewordQueryOperator
  68. package dsl

  69. implicit def kvPairOk [A] : KVPair[A]

    attributes: implicit
  70. implicit def map2MongoDBObject (map: Map[String, Any]) : DBObject

    attributes: implicit
    definition classes: Implicits
  71. implicit def mapAsDBObject (map: Map[String, Any]) : AnyRef {...}

    attributes: implicit
    definition classes: Implicits
  72. implicit def mongoNestedDBObjectQueryStatements (nested: DBObject with QueryExpressionObject) : 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
  73. 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
  74. 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
  75. implicit def unwrapDBList (in: MongoDBList) : BasicDBList

    attributes: implicit
    definition classes: Implicits
  76. implicit def unwrapDBObj (in: MongoDBObject) : DBObject

    attributes: implicit
    definition classes: Implicits
  77. implicit def wrapDBList (in: BasicDBList) : MongoDBList

    attributes: implicit
    definition classes: Implicits
  78. implicit def wrapDBObj (in: DBObject) : MongoDBObject

    attributes: implicit
    definition classes: Implicits