MongoDB driver for Kotlin (synchronous) • opensavvy.ktmongo.sync.operations • InsertOperations
InsertOperations¶
interface InsertOperations<Document> : BaseOperations
Interface grouping MongoDB operations relating to inserting new documents.
Inheritors¶
Properties¶
context¶
abstract val context: ERROR CLASS: Symbol not found for BsonContext
Functions¶
insertMany¶
open fun insertMany(vararg documents: Document, options: ERROR CLASS: Symbol not found for InsertManyOptions.() -> Unit = {})
Inserts multiple documents in a single operation.
abstract fun insertMany(documents: Iterable<Document>, options: ERROR CLASS: Symbol not found for InsertManyOptions.() -> Unit = {})
Inserts multiple documents in a single operation.
insertOne¶
Inserts a document.