This package contains models and options that help describe MongoCollection operations
Class Summary Class Description AccumulatorsBuilders for accumulators used in the group pipeline stage of an aggregation pipeline. AggregatesBuilders for aggregation pipeline stages. BsonFieldA representation of a BSON document field whose value is another BSON document. BucketAutoOptionsThe options for a $bucketAuto aggregation pipeline stage BucketOptionsThe options for a $bucket aggregation pipeline stage BulkWriteOptionsThe options to apply to a bulk write. CollationThe options regarding collation support in MongoDB 3.4+ Collation.BuilderA Collation builder. CountOptionsThe options for a count operation. CreateCollectionOptionsOptions for creating a collection CreateIndexOptionsThe options to apply to the command when creating indexes. CreateViewOptionsOptions for creating a view DBCollectionCountOptionsThe options for a count operation. DBCollectionDistinctOptionsThe options for a distinct operation. DBCollectionFindAndModifyOptionsThe oprtions for find and modify operations. DBCollectionFindOptionsThe options to apply to a find operation (also commonly referred to as a query). DBCollectionRemoveOptionsThe options to apply when removing documents from the DBCollection DBCollectionUpdateOptionsThe options to apply when updating documents in the DBCollection DBCreateViewOptionsThe options to apply when creating a view DeleteManyModel<T>A model describing the removal of all documents matching the query filter. DeleteOneModel<T>A model describing the removal of at most one document matching the query filter. DeleteOptionsThe options to apply when deleting documents. DropIndexOptionsThe options to apply to the command when dropping indexes. EstimatedDocumentCountOptionsThe options an estimated count operation. FacetDefines a Facet for use in $facet pipeline stages. Field<TExpression>Helps define new fields for the $addFields pipeline stage FiltersA factory for query filters. FindOneAndDeleteOptionsThe options to apply to an operation that atomically finds a document and deletes it. FindOneAndReplaceOptionsThe options to apply to an operation that atomically finds a document and replaces it. FindOneAndUpdateOptionsThe options to apply to an operation that atomically finds a document and updates it. FindOptions Deprecated.there is no replacement for this class GraphLookupOptionsThe options for a graphLookup aggregation pipeline stage IndexesA factory for defining index keys. IndexModelA model describing the creation of a single index. IndexOptionDefaultsThe default options for a collection to apply on the creation of indexes. IndexOptionsThe options to apply to the creation of an index. InsertManyOptionsThe options to apply to an operation that inserts multiple documents into a collection. InsertOneModel<T>A model describing an insert of a single document. InsertOneOptionsThe options to apply to an operation that inserts a single document into a collection. MergeOptionsOptions to control the behavior of the $merge aggregation stage ParallelCollectionScanOptions Deprecated.this is an unused class and there should be no reason to use it ProjectionsA factory for projections. PushOptionsThe options to apply to a $push update operator. RenameCollectionOptionsThe options to apply when renaming a collection. ReplaceOneModel<T>A model describing the replacement of at most one document that matches the query filter. ReplaceOptionsThe options to apply when replacing documents. SortsA factory for sort specifications. TextSearchOptionsText search options for the
UnwindOptionsThe options for an unwind aggregation pipeline stage UpdateManyModel<T>A model describing an update to all documents that matches the query filter. UpdateOneModel<T>A model describing an update to at most one document that matches the query filter. UpdateOptionsThe options to apply when updating documents. UpdatesA factory for document updates. ValidationOptionsValidation options for documents being inserted or updated in a collection Variable<TExpression>Helps define new variable for the $lookup pipeline stage WriteModel<T>A base class for models that can be used in a bulk write operations.
Enum Summary Enum Description AggregationLevel Deprecated. BucketGranularityGranularity values for automatic bucketing. CollationAlternateCollation support allows the specific configuration of whether or not spaces and punctuation are considered base characters. CollationCaseFirstCollation support allows the specific configuration of how character cases are handled. CollationMaxVariableCollation support allows the specific configuration of whether or not spaces and punctuation are considered base characters. CollationStrengthCollation support allows the specific configuration of how differences between characters are handled. MapReduceActionThe map reduce to collection actions. MergeOptions.WhenMatchedThe behavior of $merge if a result document and an existing document in the collection have the same value for the specified on field(s). MergeOptions.WhenNotMatchedThe behavior of $merge if a result document does not match an existing document in the out collection. ReturnDocumentIndicates which document to return, the original document before change or the document after the change ValidationActionDetermines whether to error on invalid documents or just warn about the violations but allow invalid documents. ValidationLevelDetermines how strictly MongoDB applies the validation rules to existing documents during an insert or update.