Table of Contents

Method Ascending

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

Ascending(params string[])

Adds keys to be sorted by in ascending order.

public SortByBuilder Ascending(params string[] keys)

Parameters

keys string[]

One or more key names.

Returns

SortByBuilder

The builder (so method calls can be chained).