com.mongodb.casbah.query

NotInOp

trait NotInOp extends QueryOperator

Trait to provide the $nin (NOT In Array) method on appropriate callers.

Targets (takes a right-hand value of) Arrays of [Any] and variable argument lists of Any.

Note that the magic of Scala DSLey-ness means that you can write a method such as:

var x = "foo" $nin (1, 2, 3, 5, 28)

As a valid statement - (1...28) is taken as the argument list to $nin and converted to an Array under the covers.

Source
CoreOperators.scala
See also

http://www.mongodb.org/display/DOCS/Advanced+Queries#AdvancedQueries-%24nin

Linear Supertypes
QueryOperator, Logging, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. NotInOp
  2. QueryOperator
  3. Logging
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. val field : String

    Attributes
    abstract
    Definition Classes
    QueryOperator

Concrete 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 $nin (target: Iterable[_]): DBObject with DSLDBObject

  5. def $nin (target: Tuple22[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]): DBObject with DSLDBObject

  6. def $nin (target: Tuple21[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]): DBObject with DSLDBObject

  7. def $nin (target: Tuple20[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]): DBObject with DSLDBObject

  8. def $nin (target: Tuple19[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]): DBObject with DSLDBObject

  9. def $nin (target: Tuple18[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]): DBObject with DSLDBObject

  10. def $nin (target: Tuple17[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]): DBObject with DSLDBObject

  11. def $nin (target: Tuple16[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]): DBObject with DSLDBObject

  12. def $nin (target: Tuple15[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _]): DBObject with DSLDBObject

  13. def $nin (target: Tuple14[_, _, _, _, _, _, _, _, _, _, _, _, _, _]): DBObject with DSLDBObject

  14. def $nin (target: Tuple13[_, _, _, _, _, _, _, _, _, _, _, _, _]): DBObject with DSLDBObject

  15. def $nin (target: Tuple12[_, _, _, _, _, _, _, _, _, _, _, _]): DBObject with DSLDBObject

  16. def $nin (target: Tuple11[_, _, _, _, _, _, _, _, _, _, _]): DBObject with DSLDBObject

  17. def $nin (target: Tuple10[_, _, _, _, _, _, _, _, _, _]): DBObject with DSLDBObject

  18. def $nin (target: Tuple9[_, _, _, _, _, _, _, _, _]): DBObject with DSLDBObject

  19. def $nin (target: Tuple8[_, _, _, _, _, _, _, _]): DBObject with DSLDBObject

  20. def $nin (target: Tuple7[_, _, _, _, _, _, _]): DBObject with DSLDBObject

  21. def $nin (target: Tuple6[_, _, _, _, _, _]): DBObject with DSLDBObject

  22. def $nin (target: Tuple5[_, _, _, _, _]): DBObject with DSLDBObject

  23. def $nin (target: Tuple4[_, _, _, _]): DBObject with DSLDBObject

  24. def $nin (target: Tuple3[_, _, _]): DBObject with DSLDBObject

  25. def $nin (target: Tuple2[_, _]): DBObject with DSLDBObject

  26. def $nin (target: Tuple1[_]): DBObject with DSLDBObject

  27. def $nin (target: Array[_]): DBObject with DSLDBObject

  28. def == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  30. def anyListOp (oper: String, target: Any*): DBObject with DSLDBObject

    Definition Classes
    QueryOperator
  31. def asInstanceOf [T0] : T0

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. var dbObj : Option[DBObject]

    Attributes
    protected
    Definition Classes
    QueryOperator
  34. def eq (arg0: AnyRef): Boolean

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  40. var log : Logger

    Attributes
    protected[casbah]
    Definition Classes
    Logging
  41. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  44. def op (oper: String, target: Any): DBObject with DSLDBObject

    Base method for children to call to convert an operator call into a Mongo DBObject.

    Base method for children to call to convert an operator call into a Mongo DBObject.

    e.g. "foo" $ne "bar" will convert to {"foo": {"$ne": "bar"}}

    Optionally, if dbObj, being Some(DBObject) is defined, the op(oper, ) method will nest the target value and operator inside the existing dbObj - this is useful for things like mixing $lte and $gte WARNING: This does NOT check that target is a serializable type. That is, for the moment, your own problem.

    Attributes
    protected
    Definition Classes
    QueryOperator
  45. def patchSerialization (target: Any): Unit

    Temporary fix code for making sure certain edge cases w/ the serialization libs Don't happen.

    Temporary fix code for making sure certain edge cases w/ the serialization libs Don't happen. This may impose a slight performance penalty.

    Attributes
    protected
    Definition Classes
    QueryOperator
  46. def synchronized [T0] (arg0: ⇒ T0): T0

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

    Definition Classes
    AnyRef → Any
  48. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from QueryOperator

Inherited from Logging

Inherited from AnyRef

Inherited from Any