Method DocumentNumber
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
DocumentNumber(ISetWindowFieldsPartition)
Returns the position of a document (known as the document number) in the $setWindowFields stage partition.
public static decimal DocumentNumber<TInput>(this ISetWindowFieldsPartition<TInput> partition)
Parameters
partition
ISetWindowFieldsPartition
The partition.
Returns
The document position.
Type Parameters
TInput
The type of the input documents in the partition.