-
Type: Task
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Environment:Ubuntu 13.10
-
Empty show more show less
Cursors can be easily converted to arrays using `.toArray(foo)` method:
var cursor = col.find({});
cursor.toArray(function (err, itemsArray)
);
But is it possible to convert `itemsArray` in a cursor so I will have all cursor functions?
var newCursor = foo (itemsArray);
typeof newCursor.toArray === "function" // true