Comparing version 1.4.5 to 1.4.6
{ | ||
"name": "mongot", | ||
"version": "1.4.5", | ||
"version": "1.4.6", | ||
"description": "MongoT is a modern ODM library for MongoDb.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -67,2 +67,9 @@ /// <reference types="node" /> | ||
/** | ||
* @param hint | ||
* @returns {Cursor<T>} | ||
*/ | ||
hint(hint: { | ||
[key: string]: string | number; | ||
}): this; | ||
/** | ||
* @deprecated A hasNext() method in some combination with fetch causes error "cursor is exhausted". | ||
@@ -69,0 +76,0 @@ * |
@@ -118,2 +118,10 @@ "use strict"; | ||
/** | ||
* @param hint | ||
* @returns {Cursor<T>} | ||
*/ | ||
hint(hint) { | ||
this.cursor.hint(hint); | ||
return this; | ||
} | ||
/** | ||
* @deprecated A hasNext() method in some combination with fetch causes error "cursor is exhausted". | ||
@@ -120,0 +128,0 @@ * |
Sorry, the diff of this file is not supported yet
135637
1936