case classInsertMessage(fullCollectionName: String, documents: Seq[BsonDocument], continueOnError: Boolean = false) extends Message with Product with Serializable
The OP_INSERT message is used to insert one or more documents into a collection.
The format of the OP_INSERT message is:
struct {
MsgHeader header; // standard message header
int32 flags; // bit vector - see below
cstring fullCollectionName; // "dbname.collectionname"
document* documents; // one or more documents to insert into the collection
}
Linear Supertypes
Serializable, Serializable, Product, Equals, Message, Writable, AnyRef, Any
The OP_INSERT message is used to insert one or more documents into a collection. The format of the OP_INSERT message is: