-
Type:
Improvement
-
Resolution: Won't Fix
-
Priority:
Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: JavaScript, Shell
-
None
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
It would be handy, if the .fetch(DBRef) and .fetchAll([DBRef, ...]) methods are implemented, to have them as convenience functions at the "db" level also:
> use test
switched to db test
> var refs = db.testcol.findOne({},
)
{ ... }> db.fetch(refs[0]){ ... }
> db.fetchAll(refs)
{ ... }