c

reactivemongo.core.protocol

CheckedWriteRequest

case class CheckedWriteRequest(op: WriteRequestOp, documents: BufferSequence, getLastError: GetLastError) extends Product with Serializable

A helper to build write request which result needs to be checked (by sending a reactivemongo.api.commands.GetLastError command after).

op

write operation.

documents

body of this request, a ByteBuf containing 0, 1, or many documents.

getLastError

a GetLastError command message.

Annotations
@deprecated
Deprecated

(Since version 0.16.0) Unused

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CheckedWriteRequest
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CheckedWriteRequest(op: WriteRequestOp, documents: BufferSequence, getLastError: GetLastError)

    op

    write operation.

    documents

    body of this request, a ByteBuf containing 0, 1, or many documents.

    getLastError

    a GetLastError command message.

Value Members

  1. def apply(): (RequestMaker, RequestMaker)
  2. val documents: BufferSequence
  3. val getLastError: GetLastError
  4. val op: WriteRequestOp
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product