Class ProjectionDefinitionExtensions

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

Extension methods for projections.

public static class ProjectionDefinitionExtensions

Inheritance

ProjectionDefinitionExtensions

Inherited Members

Methods

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

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

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

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

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

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

Exclude(ProjectionDefinition, FieldDefinition)

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

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

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

Include(ProjectionDefinition, FieldDefinition)

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

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

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

MetaScoreDetails(ProjectionDefinition, FieldDefinition)

Combines an existing projection with a meta score details projection. This projection will retrieve any kind of scoreDetails metadata i.e. searchScoreDetails.

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

Combines an existing projection with a meta score details projection. This projection will retrieve any kind of scoreDetails metadata i.e. searchScoreDetails.

MetaScore(ProjectionDefinition, FieldDefinition)

Combines an existing projection with a meta score projection. This projection will retrieve any kind of score metadata i.e. searchScore, VectorSearchScore or textScore.

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

Combines an existing projection with a meta score projection. This projection will retrieve any kind of score metadata i.e. searchScore, VectorSearchScore or textScore.

MetaSearchHighlights(ProjectionDefinition, FieldDefinition)

Combines an existing projection with a search highlights projection.

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

Combines an existing projection with a search highlights projection.

MetaSearchScoreDetails(ProjectionDefinition, FieldDefinition)

Combines an existing projection with a search score details projection.

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

Combines an existing projection with a search score details projection.

MetaSearchScore(ProjectionDefinition, FieldDefinition)

Combines an existing projection with a search score projection.

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

Combines an existing projection with a search score projection.

MetaSearchSequenceToken(ProjectionDefinition, FieldDefinition)

Combines an existing projection with a search sequence token projection.

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

Combines an existing projection with a search sequence token projection.

MetaTextScore(ProjectionDefinition, FieldDefinition)

Combines an existing projection with a text score projection.

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

Combines an existing projection with a text score projection.

MetaVectorSearchScore(ProjectionDefinition, FieldDefinition)

Combines an existing projection with a VectorSearch score projection.

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

Combines an existing projection with a VectorSearch score projection.

Meta(ProjectionDefinition, string, string)

Combines an existing projection with a meta projection.

SearchMeta(ProjectionDefinition, FieldDefinition)

Combines an existing projection with a search metadata projection.

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

Combines an existing projection with a search metadata projection.

Slice(ProjectionDefinition, FieldDefinition, int)

Combines an existing projection with an array slice projection.

Slice(ProjectionDefinition, FieldDefinition, int, int)

Combines an existing projection with an array slice projection.

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

Combines an existing projection with an array slice projection.

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

Combines an existing projection with an array slice projection.