com.mongodb.casbah.query

NotOp

trait NotOp extends QueryOperator

Trait to provide the $not (Not) negation method on appropriate callers.

Make sure your anchor it when you have multiple operators e.g.

"foo".$not $mod(5, 10)

Targets (takes a right-hand value of) DBObject or a Scala RegEx

Source
CoreOperators.scala
See also

http://www.mongodb.org/display/DOCS/Advanced+Queries#AdvancedQueries-Metaoperator%3A%24not

Linear Supertypes
QueryOperator, Logging, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. NotOp
  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 $not (re: Pattern): DBObject with DSLDBObject

  5. def $not (re: Regex): DBObject with DSLDBObject

  6. def $not (inner: (FluidQueryOperators) ⇒ DBObject): DBObject

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

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

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

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

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

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

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

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  19. var log : Logger

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  23. 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
  24. 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
  25. def synchronized [T0] (arg0: ⇒ T0): T0

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from QueryOperator

Inherited from Logging

Inherited from AnyRef

Inherited from Any