ensure that find readonly is implemented (SERVER-3107)

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 2.1.0
    • Affects Version/s: None
    • Component/s: JavaScript
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      See QA-19

      • I haven't identified any code, tests, or docs for findRO(), find().readOnly(), etc - maybe I am not looking in the right places.
      • I'm not seeing where V8STR_RO is getting set for cursor objects. I was able to set it up manually using:
        cur = db.c.find();
        cur._exec();
        cur._cursor['_ro'] = true;
        but maybe the helper still needs to be implemented or I didn't see it.
      • I added some logging and I think I confirmed that once _ro was set, I could read a doc and write it using the original bson representation, as in the example for SERVER-3107.

              Assignee:
              Antoine Girbal (Inactive)
              Reporter:
              Aaron Staple (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: