JvmMongoCollection
Implementation of MongoCollection based on MongoDB's MongoCollection.
To access the inner iterable, see asKotlinClient.
To convert an existing MongoDB iterable into an instance of this class, see asKtMongo.
Functions
Start an aggregation pipeline.
Counts all documents in the collection.
Deletes all documents that match filter.
Deletes the first document found that matches filter.
Removes an entire collection from the database.
Tests if there exists a document that matches predicate in the collection.
Returns a filtered collection that only contains the elements that match filter.
Finds all documents in this collection.
Finds all documents in this collection that satisfy filter.
Finds a document in this collection that satisfies filter.
Inserts multiple documents in a single operation.