Table of Contents

Method Meta

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Meta(FieldDefinition<TSource>, string)

Creates a meta projection.

public ProjectionDefinition<TSource> Meta(FieldDefinition<TSource> field, string metaFieldName)

Parameters

field FieldDefinition<TSource>

The field.

metaFieldName string

The meta field name.

Returns

ProjectionDefinition<TSource>

A meta projection.