We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The mongo probe doesn't report anything when using the promise interface:
supported
db.comments.find({ blogId: 'x' }).toArray(console.log);
unsupported
db.comments.find({ blogId: 'x' }).toArray().then(console.log);
Thereby also unsupported
const comments = await db.comments.find({ blogId: 'x' }).toArray();
I use the find method here as an example, but the same is true for the other operations.
find
const comment = await db.comments.findOne({ id: 'x' });
The text was updated successfully, but these errors were encountered:
As mongoose thenable are not true promises, this may not work. https://mongoosejs.com/docs/queries.html
Fixed in v14 of Node nodejs/node#22360 (comment)
Sorry, something went wrong.
No branches or pull requests
The mongo probe doesn't report anything when using the promise interface:
supported
unsupported
Thereby also unsupported
I use the
find
method here as an example, but the same is true for the other operations.The text was updated successfully, but these errors were encountered: