Click or drag to resize

AggregateFluentBaseTResultSet Method

Appends a $set stage to the pipeline.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public virtual IAggregateFluent<TResult> Set(
	SetFieldDefinitions<TResult> fields
)

Parameters

fields
Type: MongoDB.DriverSetFieldDefinitionsTResult
The fields to set.

Return Value

Type: IAggregateFluentTResult
The fluent aggregate interface.

Implements

IAggregateFluentTResultSet(SetFieldDefinitionsTResult)
See Also