Type alias CollectionFindOptions

CollectionFindOptions: GenericFindOptions

Options for the collection find method.

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

limit - Max number of documents to return in the lifetime of the cursor.

Field

skip - Number of documents to skip if using a sort.

Field

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

See

Collection.find