Table of Contents

Class ProjectionDefinitionExtensions

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Extension methods for projections.

public static class ProjectionDefinitionExtensions
Inheritance
ProjectionDefinitionExtensions
Inherited Members

Methods

ElemMatch<TDocument, TItem>(ProjectionDefinition<TDocument>, FieldDefinition<TDocument>, FilterDefinition<TItem>)

Combines an existing projection with a projection that filters the contents of an array.

ElemMatch<TDocument, TItem>(ProjectionDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, FilterDefinition<TItem>)

Combines an existing projection with a projection that filters the contents of an array.

ElemMatch<TDocument, TItem>(ProjectionDefinition<TDocument>, Expression<Func<TDocument, IEnumerable<TItem>>>, Expression<Func<TItem, bool>>)

Combines an existing projection with a projection that filters the contents of an array.

Exclude<TDocument>(ProjectionDefinition<TDocument>, FieldDefinition<TDocument>)

Combines an existing projection with a projection that excludes a field.

Exclude<TDocument>(ProjectionDefinition<TDocument>, Expression<Func<TDocument, object>>)

Combines an existing projection with a projection that excludes a field.

Include<TDocument>(ProjectionDefinition<TDocument>, FieldDefinition<TDocument>)

Combines an existing projection with a projection that includes a field.

Include<TDocument>(ProjectionDefinition<TDocument>, Expression<Func<TDocument, object>>)

Combines an existing projection with a projection that includes a field.

MetaSearchHighlights<TDocument>(ProjectionDefinition<TDocument>, string)

Combines an existing projection with a search highlights projection.

MetaSearchScoreDetails<TDocument>(ProjectionDefinition<TDocument>, string)

Combines an existing projection with a search score details projection.

MetaSearchScore<TDocument>(ProjectionDefinition<TDocument>, string)

Combines an existing projection with a search score projection.

MetaTextScore<TDocument>(ProjectionDefinition<TDocument>, string)

Combines an existing projection with a text score projection.

Meta<TDocument>(ProjectionDefinition<TDocument>, string, string)

Combines an existing projection with a meta projection.

SearchMeta<TDocument>(ProjectionDefinition<TDocument>, FieldDefinition<TDocument>)

Combines an existing projection with a search metadata projection.

SearchMeta<TDocument>(ProjectionDefinition<TDocument>, Expression<Func<TDocument, object>>)

Combines an existing projection with a search metadata projection.

Slice<TDocument>(ProjectionDefinition<TDocument>, FieldDefinition<TDocument>, int)

Combines an existing projection with an array slice projection.

Slice<TDocument>(ProjectionDefinition<TDocument>, FieldDefinition<TDocument>, int, int)

Combines an existing projection with an array slice projection.

Slice<TDocument>(ProjectionDefinition<TDocument>, Expression<Func<TDocument, object>>, int)

Combines an existing projection with an array slice projection.

Slice<TDocument>(ProjectionDefinition<TDocument>, Expression<Func<TDocument, object>>, int, int)

Combines an existing projection with an array slice projection.