The type of the documents in the collection.
The source collection to search.
The query criteria to filter the documents.
Optional
projection: AnyObjectOptional. Specifies the fields to include or exclude in the returned documents.
Optional
options: Partial<Options>Optional. Additional options to customize the query behavior.
A Cursor
object that allows iteration over the matching documents.
Finds documents in a collection that match the specified criteria.