Table of Contents

Method Keys

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

Keys(params Expression<Func<TDocument, object>>[])

Sets one or more key names.

public static GroupByBuilder<TDocument> Keys(params Expression<Func<TDocument, object>>[] memberExpressions)

Parameters

memberExpressions Expression<Func<TDocument, object>>[]

One or more key names.

Returns

GroupByBuilder<TDocument>

The builder (so method calls can be chained).