Table of Contents

Namespace MongoDB.Driver.Core.Operations

The MongoDB.Driver.Core.Operations namespace contains classes related to operations.

Classes

AbortTransactionOperation

The abort transaction operation.

AggregateExplainOperation

Represents an aggregate explain operations.

AggregateOperation<TResult>

Represents an aggregate operation.

AggregateToCollectionOperation

Represents an aggregate operation that writes the results to an output collection.

AsyncCursor<TDocument>

Represents an async cursor.

BulkMixedWriteOperation

Represents a mixed write bulk operation.

BulkWriteConcernError

Represents the details of a write concern error.

BulkWriteOperationError

Represents the details of a write error for a particular request.

BulkWriteOperationResult

Represents the result of a bulk write operation.

BulkWriteOperationResult.Acknowledged

Represents the result of an acknowledged bulk write operation.

BulkWriteOperationResult.Unacknowledged

Represents the result of an unacknowledged BulkWrite operation.

BulkWriteOperationUpsert

Represents the information about one Upsert.

ChangeStreamOperation<TResult>

A change stream operation.

CommandOperationBase<TCommandResult>

Represents the base class for a command operation.

CommitTransactionOperation

The commit transaction operation.

CountDocumentsOperation

Represents a count documents operation. For a fast estimate of the total documents in a collection see CountOperation.

CountOperation

Represents a count operation.

CreateCollectionOperation

Represents a create collection operation.

CreateIndexRequest

Represents a create index request.

CreateIndexesOperation

Represents a create indexes operation.

CreateSearchIndexRequest

Represents a create search index request.

CreateViewOperation

Represents a create view operation.

DatabaseExistsOperation

Represents a database exists operation.

DeleteOpcodeOperation

Represents a delete operation using the delete opcode.

DeleteRequest

Represents a request to delete one or more documents.

DistinctOperation<TValue>

Represents a distinct operation.

DropCollectionOperation

Represents a drop collection operation.

DropDatabaseOperation

Represents a drop database operation.

DropIndexOperation

Represents a drop index operation.

EndTransactionOperation

Abstract base class for AbortTransactionOperation and CommitTransactionOperation.

EstimatedDocumentCountOperation

Represents an estimated document count operation.

EvalOperation

Represents an eval operation.

ExplainOperation

Represents an explain operation.

FindAndModifyOperationBase<TResult>

Represents a base class for find and modify operations.

FindAndModifyValueDeserializer<TResult>

Represents a deserializer for find and modify result values.

FindOneAndDeleteOperation<TResult>

Represents a find one and delete operation.

FindOneAndReplaceOperation<TResult>

Represents a find one and replace operation.

FindOneAndUpdateOperation<TResult>

Represents a find one and update operation.

FindOperation<TDocument>

Represents a Find command operation.

GeoNearOperation<TResult>

Represents the geoNear command.

GeoSearchOperation<TResult>

Represents the geoSearch command.

GroupOperation<TResult>

Represents a group operation.

IndexNameHelper

Represents helper methods for index names.

InsertOpcodeOperation<TDocument>

Represents an insert operation using the insert opcode.

InsertRequest

Represents a request to insert a document.

ListCollectionsOperation

Represents a list collections operation.

ListDatabasesOperation

Represents the listDatabases command.

ListIndexesOperation

Represents a list indexes operation.

ListIndexesUsingCommandOperation

Represents a list indexes operation.

MapReduceLegacyOperation

Represents a map-reduce operation.

MapReduceOperationBase

Represents a base class for map-reduce operations.

MapReduceOperation<TResult>

Represents a map-reduce operation.

MapReduceOutputToCollectionOperation

Represents a map-reduce operation that outputs its results to a collection.

MongoBulkWriteOperationException

Represents a bulk write operation exception.

NoOperationClock

An object that represents no operation clock.

OperationExtensionMethods

Represents extension methods for operations.

ParallelScanOperation<TDocument>

Represents a parallel scan operation.

PingOperation

Represents a ping operation.

ReIndexOperation

Represents a reindex operation.

ReadCommandOperation<TCommandResult>

Represents a read command operation.

RenameCollectionOperation

Represents a rename collection operation.

RetryableDeleteCommandOperation

Represents a delete command operation.

RetryableInsertCommandOperation<TDocument>

Represents an insert command operation.

RetryableReadContext

Represents a context for retryable reads.

RetryableUpdateCommandOperation

Represents an update command operation.

RetryableWriteCommandOperationBase

Represents a base class for a delete, insert or update command operation.

RetryableWriteContext

Represents a context for retryable writes.

UpdateOpcodeOperation

Represents an update operation using the update opcode.

UpdateRequest

Represents a request to update one or more documents.

WriteCommandOperation<TCommandResult>

Represents a write command operation.

WriteRequest

Represents a request to write something to the database.

Interfaces

IChangeStreamOperation<TResult>

A change stream operation.

IExecutableInRetryableReadContext<TResult>

Represents an operation (that may or may not be retryable) that can be executed in a retryable read context.

IExecutableInRetryableWriteContext<TResult>

Represents an operation (that may or may not be retryable) that can be executed in a retryable write context.

IExplainableOperation

Represents an explainable operation.

IOperationClock

An operation clock.

IReadOperation<TResult>

Represents a database read operation.

IRetryableReadOperation<TResult>

Represents a retryable read operation.

IRetryableWriteOperation<TResult>

Represents a retryable write operation.

IWriteOperation<TResult>

Represents a database write operation.

Enums

CursorType

The cursor type.

ExplainVerbosity

The verbosity of an explanation.

MapReduceOutputMode

Represents the map-reduce output mode.

ReturnDocument

The document to return when executing a FindAndModify command.

UpdateType

Represents the update type.

WriteRequestType

Represents the type of a write request.