Class

io.scalajs.npm.mongodb

BulkWriteResult

Related Doc: package mongodb

Permalink

class BulkWriteResult extends Object

Bulk Write Result

Annotations
@RawJSType() @native() @JSName( "BulkWriteResult" )
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BulkWriteResult
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BulkWriteResult(ok: Boolean, nInserted: Int, nUpdated: Int, nUpserted: Int, nModified: Int, nRemoved: Int)

    Permalink

    ok

    Did bulk operation correctly execute

    nInserted

    Number of inserted documents

    nUpdated

    Number of documents updated logically

    nUpserted

    Number of upserted documents

    nModified

    Number of documents updated physically on disk

    nRemoved

    Number of removed documents

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getInsertedIds[T <: Any](): Array[T]

    Permalink

    Return an array of inserted ids

    Return an array of inserted ids

    returns

    an array of inserted ids

  11. def getLastOp[T <: Any](): T

    Permalink

    Retrieve lastOp if available

    Retrieve lastOp if available

    returns

    the lastOp if available

  12. def getRawResponse[T <: Any](): T

    Permalink

    Return raw internal result

    Return raw internal result

    returns

    raw internal result

  13. def getUpsertedIdAt[T <: Any](index: Int): T

    Permalink

    Return the upserted id at position x

    Return the upserted id at position x

    index

    the number of the upserted id to return, returns undefined if no result for passed in index

    returns

    the upserted id at position x

  14. def getUpsertedIds[T <: Any](): Array[T]

    Permalink

    Return an array of upserted ids

    Return an array of upserted ids

    returns

    an array of upserted ids

  15. def getWriteConcernError(): WriteConcernError

    Permalink

    Retrieve the write concern error if any

    Retrieve the write concern error if any

    returns

    the write concern error if any

  16. def getWriteErrorAt(): WriteError

    Permalink

    Returns a specific write error object

    Returns a specific write error object

    returns

    a specific write error object

  17. def getWriteErrorCount(): Int

    Permalink

    Returns the number of write errors off the bulk operation

    Returns the number of write errors off the bulk operation

    returns

    the number of write errors off the bulk operation

  18. def getWriteErrors(): Array[WriteError]

    Permalink

    Retrieve all write errors

    Retrieve all write errors

    returns

    all write errors

  19. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  20. def hasWriteErrors(): Boolean

    Permalink

    Returns true if the bulk operation contains a write error

    Returns true if the bulk operation contains a write error

    returns

    true if the bulk operation contains a write error

  21. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  23. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  24. val nInserted: Int

    Permalink

    Number of inserted documents

  25. val nModified: Int

    Permalink

    Number of documents updated physically on disk

  26. val nRemoved: Int

    Permalink

    Number of removed documents

  27. val nUpdated: Int

    Permalink

    Number of documents updated logically

  28. val nUpserted: Int

    Permalink

    Number of upserted documents

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

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

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

    Permalink
    Definition Classes
    AnyRef
  32. val ok: Boolean

    Permalink

    Did bulk operation correctly execute

  33. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  38. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped