Class/Object

reactivemongo.api.commands.UpdateCommand

UpdateElement

Related Docs: object UpdateElement | package UpdateCommand

Permalink

class UpdateElement extends Serializable with Product4[P.Document, P.Document, Boolean, Boolean]

Linear Supertypes
Product4[P.Document, P.Document, Boolean, Boolean], Product, Equals, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UpdateElement
  2. Product4
  3. Product
  4. Equals
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UpdateElement(q: P.Document, u: P.Document, upsert: Boolean, multi: Boolean, collation: Option[Collation], arrayFilters: Seq[P.Document])

    Permalink

    q

    the query that matches the documents to update

    u

    the modifications to apply

    upsert

    if true perform an insert if no documents match the query

    multi

    if true updates all the matching documents

    collation

    the collation to use for the operation

    arrayFilters

    an array of filter documents that determines which array elements to modify for an update operation on an array field

    Annotations
    @deprecated
    Deprecated

    (Since version 0.17.0) Will be private/internal

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from UpdateElement to any2stringadd[UpdateElement] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (UpdateElement, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from UpdateElement to ArrowAssoc[UpdateElement] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. val arrayFilters: Seq[P.Document]

    Permalink

    an array of filter documents that determines which array elements to modify for an update operation on an array field

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    UpdateElement → Equals
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val collation: Option[Collation]

    Permalink

    the collation to use for the operation

  11. def ensuring(cond: (UpdateElement) ⇒ Boolean, msg: ⇒ Any): UpdateElement

    Permalink
    Implicit information
    This member is added by an implicit conversion from UpdateElement to Ensuring[UpdateElement] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (UpdateElement) ⇒ Boolean): UpdateElement

    Permalink
    Implicit information
    This member is added by an implicit conversion from UpdateElement to Ensuring[UpdateElement] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): UpdateElement

    Permalink
    Implicit information
    This member is added by an implicit conversion from UpdateElement to Ensuring[UpdateElement] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): UpdateElement

    Permalink
    Implicit information
    This member is added by an implicit conversion from UpdateElement to Ensuring[UpdateElement] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    UpdateElement → Equals → AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from UpdateElement to StringFormat[UpdateElement] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    UpdateElement → AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. val multi: Boolean

    Permalink

    if true updates all the matching documents

  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def productArity: Int

    Permalink
    Definition Classes
    Product4 → Product
  27. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product4 → Product
    Annotations
    @throws( ... )
  28. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  29. def productPrefix: String

    Permalink
    Definition Classes
    Product
  30. val q: P.Document

    Permalink

    the query that matches the documents to update

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    UpdateElement → AnyRef → Any
  33. val u: P.Document

    Permalink

    the modifications to apply

  34. val upsert: Boolean

    Permalink

    if true perform an insert if no documents match the query

  35. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def [B](y: B): (UpdateElement, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from UpdateElement to ArrowAssoc[UpdateElement] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. val _1: P.Document

    Permalink
    Definition Classes
    UpdateElement → Product4
    Annotations
    @deprecated
    Deprecated

    (Since version 0.17.0) Use q

  2. val _2: P.Document

    Permalink
    Definition Classes
    UpdateElement → Product4
    Annotations
    @deprecated
    Deprecated

    (Since version 0.17.0) Use u

  3. val _3: Boolean

    Permalink
    Definition Classes
    UpdateElement → Product4
    Annotations
    @deprecated
    Deprecated

    (Since version 0.17.0) Use upsert

  4. val _4: Boolean

    Permalink
    Definition Classes
    UpdateElement → Product4
    Annotations
    @deprecated
    Deprecated

    (Since version 0.17.0) Use multi

Inherited from Product4[P.Document, P.Document, Boolean, Boolean]

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from UpdateElement to any2stringadd[UpdateElement]

Inherited by implicit conversion StringFormat from UpdateElement to StringFormat[UpdateElement]

Inherited by implicit conversion Ensuring from UpdateElement to Ensuring[UpdateElement]

Inherited by implicit conversion ArrowAssoc from UpdateElement to ArrowAssoc[UpdateElement]

Ungrouped