MongoZioCollection
Value members
Concrete methods
Aggregates documents according to the specified aggregation pipeline.
Aggregates documents according to the specified aggregation pipeline.
Aggregates documents according to the specified aggregation pipeline.
Aggregates documents according to the specified aggregation pipeline.
Executes a mix of inserts, updates, replaces, and deletes.
Executes a mix of inserts, updates, replaces, and deletes.
Executes a mix of inserts, updates, replaces, and deletes.
Executes a mix of inserts, updates, replaces, and deletes.
Executes a mix of inserts, updates, replaces, and deletes.
Executes a mix of inserts, updates, replaces, and deletes.
Executes a mix of inserts, updates, replaces, and deletes.
Executes a mix of inserts, updates, replaces, and deletes.
Counts the number of documents in the collection according to the given options.
Counts the number of documents in the collection according to the given options.
Counts the number of documents in the collection according to the given options.
Counts the number of documents in the collection according to the given options.
Counts the number of documents in the collection according to the given options.
Counts the number of documents in the collection according to the given options.
Counts the number of documents in the collection according to the given options.
Counts the number of documents in the collection according to the given options.
Create multiple indexes.
Create multiple indexes.
Removes all documents from the collection that match the given query filter. If no documents match, the collection is not modified.
Removes all documents from the collection that match the given query filter. If no documents match, the collection is not modified.
Removes all documents from the collection that match the given query filter. If no documents match, the collection is not modified.
Removes all documents from the collection that match the given query filter. If no documents match, the collection is not modified.
Removes all documents from the collection that match the given query filter. If no documents match, the collection is not modified.
Removes all documents from the collection that match the given query filter. If no documents match, the collection is not modified.
Removes all documents from the collection that match the given query filter. If no documents match, the collection is not modified.
Removes all documents from the collection that match the given query filter. If no documents match, the collection is not modified.
Removes at most one document from the collection that matches the given filter. If no documents match, the collection is not modified.
Removes at most one document from the collection that matches the given filter. If no documents match, the collection is not modified.
Removes at most one document from the collection that matches the given filter. If no documents match, the collection is not modified.
Removes at most one document from the collection that matches the given filter. If no documents match, the collection is not modified.
Removes at most one document from the collection that matches the given filter. If no documents match, the collection is not modified.
Removes at most one document from the collection that matches the given filter. If no documents match, the collection is not modified.
Removes at most one document from the collection that matches the given filter. If no documents match, the collection is not modified.
Removes at most one document from the collection that matches the given filter. If no documents match, the collection is not modified.
Gets the distinct values of the specified field name.
Gets the distinct values of the specified field name.
Gets the distinct values of the specified field name.
Gets the distinct values of the specified field name.
Gets the distinct values of the specified field name.
Gets the distinct values of the specified field name.
Gets the distinct values of the specified field name.
Gets the distinct values of the specified field name.
Drop all the indexes on this collection, except for the default on _id.
Drop all the indexes on this collection, except for the default on _id.
Drop all the indexes on this collection, except for the default on _id.
Drop all the indexes on this collection, except for the default on _id.
Drop all the indexes on this collection, except for the default on _id.
Drop all the indexes on this collection, except for the default on _id.
Drop all the indexes on this collection, except for the default on _id.
Drop all the indexes on this collection, except for the default on _id.
Gets an estimate of the count of documents in a collection using collection metadata.
Gets an estimate of the count of documents in a collection using collection metadata.
Gets an estimate of the count of documents in a collection using collection metadata.
Gets an estimate of the count of documents in a collection using collection metadata.
Finds all documents in the collection.
Finds all documents in the collection.
Atomically find a document and remove it.
Atomically find a document and remove it.
Atomically find a document and replace it.
Atomically find a document and replace it.
Atomically find a document and update it.
Atomically find a document and update it.
Atomically find a document and update it.
Atomically find a document and update it.
Inserts a batch of documents. The preferred way to perform bulk inserts is to use the BulkWrite API. However, when talking with a server < 2.6, using this method will be faster due to constraints in the bulk API related to error handling.
Inserts a batch of documents. The preferred way to perform bulk inserts is to use the BulkWrite API. However, when talking with a server < 2.6, using this method will be faster due to constraints in the bulk API related to error handling.
Inserts a batch of documents. The preferred way to perform bulk inserts is to use the BulkWrite API. However, when talking with a server < 2.6, using this method will be faster due to constraints in the bulk API related to error handling.
Inserts a batch of documents. The preferred way to perform bulk inserts is to use the BulkWrite API. However, when talking with a server < 2.6, using this method will be faster due to constraints in the bulk API related to error handling.
Inserts a batch of documents. The preferred way to perform bulk inserts is to use the BulkWrite API.
Inserts a batch of documents. The preferred way to perform bulk inserts is to use the BulkWrite API.
Inserts a batch of documents. The preferred way to perform bulk inserts is to use the BulkWrite API.
Inserts a batch of documents. The preferred way to perform bulk inserts is to use the BulkWrite API.
Inserts the provided document. If the document is missing an identifier, the driver should generate one.
Inserts the provided document. If the document is missing an identifier, the driver should generate one.
Inserts the provided document. If the document is missing an identifier, the driver should generate one.
Inserts the provided document. If the document is missing an identifier, the driver should generate one.
Inserts the provided document. If the document is missing an identifier, the driver should generate one.
Inserts the provided document. If the document is missing an identifier, the driver should generate one.
Inserts the provided document. If the document is missing an identifier, the driver should generate one.
Inserts the provided document. If the document is missing an identifier, the driver should generate one.
Aggregates documents according to the specified map-reduce function.
Aggregates documents according to the specified map-reduce function.
Aggregates documents according to the specified map-reduce function.
Aggregates documents according to the specified map-reduce function.
Rename the collection with oldCollectionName to the newCollectionName.
Rename the collection with oldCollectionName to the newCollectionName.
Rename the collection with oldCollectionName to the newCollectionName.
Rename the collection with oldCollectionName to the newCollectionName.
Rename the collection with oldCollectionName to the newCollectionName.
Rename the collection with oldCollectionName to the newCollectionName.
Rename the collection with oldCollectionName to the newCollectionName.
Rename the collection with oldCollectionName to the newCollectionName.
- Value parameters:
- clientSession
the client session with which to associate this operation
- newCollectionNamespace
the name the collection will be renamed to
- options
the options for renaming a collection
- Returns:
an IO with a single element indicating when the operation has completed
- Since:
2.2
- Note:
Requires MongoDB 3.6 or greater
Replace a document in the collection according to the specified arguments.
Replace a document in the collection according to the specified arguments.
Replace a document in the collection according to the specified arguments.
Replace a document in the collection according to the specified arguments.
Replace a document in the collection according to the specified arguments.
Replace a document in the collection according to the specified arguments.
Replace a document in the collection according to the specified arguments.
Replace a document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Update a single document in the collection according to the specified arguments.
Creates a change stream for this collection.
Creates a change stream for this collection.
- Type parameters:
- C
the target document type of the observable.
- Returns:
the change stream observable
- Since:
2.2
- Note:
Requires MongoDB 3.6 or greater
Creates a change stream for this collection.
Creates a change stream for this collection.
- Type parameters:
- C
the target document type of the observable.
- Value parameters:
- pipeline
the aggregation pipeline to apply to the change stream
- Returns:
the change stream observable
- Since:
2.2
- Note:
Requires MongoDB 3.6 or greater
Creates a change stream for this collection.
Creates a change stream for this collection.
- Type parameters:
- C
the target document type of the observable.
- Value parameters:
- clientSession
the client session with which to associate this operation
- Returns:
the change stream observable
- Since:
2.2
- Note:
Requires MongoDB 3.6 or greater
Creates a change stream for this collection.
Creates a change stream for this collection.
- Type parameters:
- C
the target document type of the observable.
- Value parameters:
- clientSession
the client session with which to associate this operation
- pipeline
the aggregation pipeline to apply to the change stream
- Returns:
the change stream observable
- Since:
2.2
- Note:
Requires MongoDB 3.6 or greater
Create a new MongoZioCollection instance with a different codec registry.
Create a new MongoZioCollection instance with a different codec registry.
Create a new MongoZioCollection instance with a different default class to cast any documents returned from the database into..
Create a new MongoZioCollection instance with a different default class to cast any documents returned from the database into..
Create a new MongoZioCollection instance with a different read concern.
Create a new MongoZioCollection instance with a different read concern.
Create a new MongoZioCollection instance with a different read preference.
Create a new MongoZioCollection instance with a different read preference.
Inherited methods
Concrete fields
Get the default class to cast any documents returned from the database into.
Get the default class to cast any documents returned from the database into.