MongoDB driver for Kotlin (coroutines) • opensavvy.ktmongo.coroutines.operations • InsertOperations
InsertOperations¶
Properties¶
context¶
abstract val context:
Functions¶
insertMany¶
open suspend fun insertMany(vararg documents: Document, options: <Document>.() -> Unit = {})
Inserts multiple documents in a single operation.
abstract suspend fun insertMany(documents: Iterable<Document>, options: <Document>.() -> Unit = {})
Inserts multiple documents in a single operation.
insertOne¶
Inserts a document.