Table of Contents

Namespace MongoDB.Driver.Builders

The MongoDB.Driver.Builders namespace contains helper classes (builders) that can be used to construct various options used in the driver.

Classes

BuilderBase

Abstract base class for the builders.

CollectionOptions

A builder for the options used when creating a collection.

CollectionOptionsBuilder

A builder for the options used when creating a collection.

CreateViewOptions

A builder for the options used when creating a view.

CreateViewOptionsBuilder

A builder for the options used when creating a view.

Fields

A builder for specifying which fields of a document the server should return.

FieldsBuilder

A builder for specifying which fields of a document the server should return.

FieldsBuilder<TDocument>

A builder for specifying which fields of a document the server should return.

Fields<TDocument>

A builder for specifying which fields of a document the server should return.

GeoHaystackSearchOptions

A builder for the options of the GeoHaystackSearch command.

GeoHaystackSearchOptionsBuilder

A builder for the options of the GeoHaystackSearch command.

GeoHaystackSearchOptionsBuilder<TDocument>

A builder for the options of the GeoHaystackSearch command.

GeoHaystackSearchOptions<TDocument>

A builder for the options of the GeoHaystackSearch command.

GeoNearOptions

A builder for the options of the GeoNear command.

GeoNearOptionsBuilder

A builder for the options of the GeoNear command.

GroupBy

A builder for specifying what the GroupBy command should group by.

GroupByBuilder

A builder for specifying what the GroupBy command should group by.

GroupByBuilder<TDocument>

A builder for specifying what the GroupBy command should group by.

GroupBy<TDocument>

A builder for specifying what the GroupBy command should group by.

IndexKeys

A builder for specifying the keys for an index.

IndexKeysBuilder

A builder for specifying the keys for an index.

IndexKeysBuilder<TDocument>

A builder for specifying the keys for an index.

IndexKeys<TDocument>

A builder for specifying the keys for an index.

IndexOptions

A builder for the options used when creating an index.

IndexOptionsBuilder

A builder for the options used when creating an index.

IndexOptionsBuilder<TDocument>

A builder for the options used when creating an index.

IndexOptions<TDocument>

A builder for the options used when creating an index.

PushEachOptions

Arguments for $push with an $each clause.

PushEachOptionsBuilder<TValue>

A fluent builder for PushEachOptions.

Query

A builder for creating queries.

QueryBuilder<TDocument>

Aids in building mongo queries based on type information.

Query<TDocument>

Aids in building mongo queries based on type information.

SortBy

A builder for specifying a sort order.

SortByBuilder

A builder for specifying a sort order.

SortByBuilder<TDocument>

A builder for specifying a sort order.

SortBy<TDocument>

A builder for specifying a sort order.

Update

A builder for creating update modifiers.

UpdateBuilder

A builder for creating update modifiers.

UpdateBuilder<TDocument>

A builder for creating update modifiers.

Update<TDocument>

A builder for creating update modifiers.

Enums

UpdateCurrentDateType

The type to use for the $currentDate type.