Type alias CollectionFindOneOptions

CollectionFindOneOptions: GenericFindOneOptions

Represents the options for the collection findOne command.

Field

sort - The sort order to pick which document to return if the filter selects multiple documents.

Field

projection - Specifies which fields should be included/excluded in the returned documents.

Field

includeSimilarity - If true, include the similarity score in the result via the $similarity field.

Field

timeout - The timeout override for this method