(
filter: Filter<TSchema> = {},
options: FindOptions & Abortable = {}
)
| 566 | options?: FindOptions & Abortable |
| 567 | ): FindCursor<T>; |
| 568 | find( |
| 569 | filter: Filter<TSchema> = {}, |
| 570 | options: FindOptions & Abortable = {} |
| 571 | ): FindCursor<WithId<TSchema>> { |
| 572 | return new FindCursor<WithId<TSchema>>( |
| 573 | this.client, |
| 574 | this.s.namespace, |
| 575 | filter, |
| 576 | resolveOptions(this, options) |
| 577 | ); |
| 578 | } |
| 579 | |
| 580 | /** |
| 581 | * Returns the options of the collection. |