class BulkWriteResult extends Object
Bulk Write Result
- Annotations
- @RawJSType() @native() @JSName( "BulkWriteResult" )
- Alphabetic
- By Inheritance
- BulkWriteResult
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
BulkWriteResult(ok: Boolean, nInserted: Int, nUpdated: Int, nUpserted: Int, nModified: Int, nRemoved: Int)
- 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getInsertedIds[T <: Any](): Array[T]
Return an array of inserted ids
Return an array of inserted ids
- returns
an array of inserted ids
-
def
getLastOp[T <: Any](): T
Retrieve lastOp if available
Retrieve lastOp if available
- returns
the lastOp if available
-
def
getRawResponse[T <: Any](): T
Return raw internal result
Return raw internal result
- returns
raw internal result
-
def
getUpsertedIdAt[T <: Any](index: Int): T
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
-
def
getUpsertedIds[T <: Any](): Array[T]
Return an array of upserted ids
Return an array of upserted ids
- returns
an array of upserted ids
-
def
getWriteConcernError(): WriteConcernError
Retrieve the write concern error if any
Retrieve the write concern error if any
- returns
the write concern error if any
-
def
getWriteErrorAt(): WriteError
Returns a specific write error object
Returns a specific write error object
- returns
a specific write error object
-
def
getWriteErrorCount(): Int
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
-
def
getWriteErrors(): Array[WriteError]
Retrieve all write errors
Retrieve all write errors
- returns
all write errors
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hasWriteErrors(): Boolean
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
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- val nInserted: Int
- val nModified: Int
- val nRemoved: Int
- val nUpdated: Int
- val nUpserted: Int
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val ok: Boolean
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
valueOf(): Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )