Table of Contents

Method Set

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Set(SetFieldDefinitions<TResult>)

Appends a $set stage to the pipeline.

IAggregateFluent<TResult> Set(SetFieldDefinitions<TResult> fields)

Parameters

fields SetFieldDefinitions<TResult>

The fields to set.

Returns

IAggregateFluent<TResult>

The fluent aggregate interface.