InsertOperations

Interface grouping MongoDB operations relating to inserting new documents.

Inheritors

Properties

Link copied to clipboard
abstract val context: ERROR CLASS: Symbol not found for BsonContext

Functions

Link copied to clipboard
open fun insertMany(vararg documents: Document, options: ERROR CLASS: Symbol not found for InsertManyOptions<Document>.() -> Unit = {})
abstract fun insertMany(documents: Iterable<Document>, options: ERROR CLASS: Symbol not found for InsertManyOptions<Document>.() -> Unit = {})

Inserts multiple documents in a single operation.

Link copied to clipboard
abstract fun insertOne(document: Document, options: ERROR CLASS: Symbol not found for InsertOneOptions<Document>.() -> Unit = {})

Inserts a document.