-
Type: Task
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.3.2
-
Component/s: MongoDB 3.4
-
Environment:Windows10
NodeJS 12.10.0
-
Empty show more show less
I would expect that on a find the result is returned instead of a "cursor"
Returns cursor (expected the result)
find({MTYPE: "CONVEYOR"})
Returns result (after converting to array first!)
find({ MTYPE: "CONVEYOR" }).toArray((err, result) => { if (err) throw err; console.log(result); });
Why is this?