Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FindOptions<Document>

Options for documents searching.

Type parameters

  • Document

Hierarchy

Properties

index

index: IndexedProperty<Document>

Determines on which index to perform search.
When IndexedProperty.value is given, will perform search only on documents having IndexedProperty.name equal to that value.

multiple

multiple: boolean

Whether to return all found documents, or the first one.

default

true

projection

projection: Projection<Document>

Projection to apply on found documents.

sort

sort: SortFields<Document>

Sort found documents before returning them.