find method returns some cursor class rather the doc json
hotfusion opened this issue · comments
I am not sure why it's not working for me but i don't get any docs
back from the find
method rather a Cursor class which I am not sure what I have to do with it...
doc.find(query, function (err, docs) {
// docs returns as Cursor class rather a json object
// docs.exec(function(err,res){ console.log(res) }); wont return json either
})
is it a bug or I am missing something?
Thx
Sorry, my mistake... I didn't read carefully the docs! However, this module works great!