Table of Contents

Class CountArgs

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

Represents arguments for the Count command helper method.

public class CountArgs
Inheritance
CountArgs
Inherited Members
Extension Methods

Properties

Collation

Gets or sets the collation.

public Collation Collation { get; set; }

Property Value

Collation

Hint

Gets or sets the hint.

public BsonValue Hint { get; set; }

Property Value

BsonValue

Limit

Gets or sets the maximum number of matching documents to count.

public long? Limit { get; set; }

Property Value

long?

MaxTime

Gets or sets the max time.

public TimeSpan? MaxTime { get; set; }

Property Value

TimeSpan?

Query

Gets or sets the query.

public IMongoQuery Query { get; set; }

Property Value

IMongoQuery

ReadPreference

Gets or sets the read preference.

public ReadPreference ReadPreference { get; set; }

Property Value

ReadPreference

Skip

Gets or sets the number of matching documents to skip before starting to count matching documents.

public long? Skip { get; set; }

Property Value

long?