MongoCollection
interface MongoCollection<Document : Any> : FindOperations<Document> , CountOperations<Document> , UpdateOperations<Document> , DeleteOperations<Document> , CollectionOperations<Document> , InsertOperations<Document> , AggregationOperations<Document> , UpdatePipelineOperations<Document> (source)
Methods to interact with a MongoDB collection.
Operations
External resources
Inheritors
Functions
Link copied to clipboard
Start an aggregation pipeline.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Counts all documents in the collection.
Link copied to clipboard
Link copied to clipboard
open fun insertMany(vararg documents: Document, options: <Error class: unknown class><Document>.() -> Unit = {})
Inserts multiple documents in a single operation.
abstract fun insertMany(documents: Iterable<Document>, options: <Error class: unknown class><Document>.() -> Unit = {})
Inserts multiple documents in a single operation.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard