We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50b26dc commit 8d6422bCopy full SHA for 8d6422b
types/models.d.ts
@@ -621,7 +621,7 @@ declare module 'mongoose' {
621
/** Creates a `distinct` query: returns the distinct values of the given `field` that match `filter`. */
622
distinct<DocKey extends string, ResultType = unknown>(
623
field: DocKey,
624
- filter?: RootFilterQuery<TRawDocType>
+ filter?: RootFilterQuery<TRawDocType>,
625
options?: QueryOptions<TRawDocType>
626
): QueryWithHelpers<
627
Array<
0 commit comments