You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ahh okay. The problem is that mango in my code is {"selector": ... criteria ...}, while .find() expects the ... criteria ... part (it will internally wrap the criteria in {"selector": ...}.
So I fix this by passing just the ... criteria ... part to .find(), and now it works!
So I have a piece of code that looks like this:
If I
await
on this, I got stuck afterCouchDB find in ... for: ...
line.I can confirm that the host & port are correct: Doing
curl http://$HOST:$PORT/_utils/
shows Fauxton replying.Where did I go wrong with the code above?
The text was updated successfully, but these errors were encountered: