InsertOperations
Interface grouping MongoDB operations relating to inserting new documents.
Inheritors
Functions
Link copied to clipboard
open fun insertMany(vararg documents: Document, options: InsertManyOptions<Document>.() -> Unit = {})
abstract fun insertMany(documents: Iterable<Document>, options: InsertManyOptions<Document>.() -> Unit = {})
Inserts multiple documents in a single operation.