Merge pull request #31798 from epicfaace/patch-1

Mongoose types - Add Query.getOptions()
This commit is contained in:
Sheetal Nandi
2019-01-02 11:55:01 -08:00
committed by GitHub
+7 -1
View File
@@ -1894,7 +1894,13 @@ declare module "mongoose" {
* is an Array. See the examples.
*/
geometry(object: { type: string, coordinates: any[] }): this;
/**
* Returns the current query options as a JSON object.
* @returns current query options
*/
getOptions(): any;
/**
* Returns the current query conditions as a JSON object.
* @returns current query conditions