• Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: JavaScript, Shell
    • Labels:
      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({},

      {"linked_docs": 1}

      )

      { ... }
      > db.fetch(refs[0]){ ... }

      > db.fetchAll(refs)

      { ... }

            Assignee:
            Unassigned Unassigned
            Reporter:
            digitala Phillip Oldham
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: