Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Projection<Document>

Determines which fields are returned in the matching documents.
Projection is applied on document clones.

Type parameters

  • Document

Hierarchy

  • Projection

Properties

Properties

fields

fields: IndexedKey<Document>[]

Document fields that need to be projected.

type

Projection type. Applies to all Projection.fields.