UpdateOps

reactivemongo.api.collections.UpdateOps

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type

Members list

Concise view

Type members

Classlikes

sealed trait UpdateBuilder

Builder for update operations.

Builder for update operations.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Inherited classlikes

The result of a bulk write operation.

The result of a bulk write operation.

Attributes

Inherited from:
MultiBulkWriteResultFactory
Graph
Supertypes
class Object
trait Matchable
class Any
final class UpdateElement(val q: Document, val u: Either[Document, Seq[Document]], val upsert: Boolean, val multi: Boolean, val collation: Option[Collation], val arrayFilters: Seq[Document])

Attributes

arrayFilters

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

collation

the collation to use for the operation

multi

if true updates all the matching documents

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

Inherited from:
UpdateCommand (hidden)
Graph
Supertypes
class Object
trait Matchable
class Any
final class UpdateWriteResult extends WriteResult

Result for the update operations.

Result for the update operations.

Attributes

n

the number of documents selected for update

nModified

the number of updated documents

ok

the update status

upserted

the upserted documents

Inherited from:
UpdateWriteResultFactory (hidden)
Graph
Supertypes
class Object
trait Matchable
class Any
final class Upserted

An upserted element

An upserted element

Attributes

Inherited from:
UpsertedFactory
Graph
Supertypes
class Object
trait Matchable
class Any
object Upserted

Attributes

Inherited from:
UpsertedFactory
Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete fields

lazy protected val maxWireVersion: MongoWireVersion

Implicits

Inherited implicits

final implicit protected def updateReader: Reader[UpdateWriteResult]

Attributes

Inherited from:
UpdateCommand (hidden)