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 e6cbee0 commit 31183a6Copy full SHA for 31183a6
source/includes/fact-call-limitations.rst
@@ -76,11 +76,11 @@ The following generator functions do not work:
76
77
// This code will fail
78
function* FindResults() {
79
- yield db.students.findMany();
+ yield db.students.findOne();
80
}
81
82
83
- function listEntries() { return db.students.findMany(); }
+ function listEntries() { return db.students.findOne(); }
84
function* findResults() {
85
yield listEntries();
86
@@ -89,7 +89,7 @@ Use an ``async generator function`` instead:
89
90
.. code-block:: javascript
91
92
93
async function* findResults() {
94
95
0 commit comments