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>, FieldDefinition<TDocument>)

Combines an existing projection with a search highlights projection.

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

Combines an existing projection with a search highlights projection.

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

Combines an existing projection with a search score details projection.

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

Combines an existing projection with a search score details projection.

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

Combines an existing projection with a search score projection.

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

Combines an existing projection with a search score projection.

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

Combines an existing projection with a search sequence token projection.

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

Combines an existing projection with a search sequence token projection.

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

Combines an existing projection with a text score projection.

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

Combines an existing projection with a text score projection.

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

Combines an existing projection with a VectorSearch score projection.

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

Combines an existing projection with a VectorSearch 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.