add support for QueryOptimizerCursor projections in ClientCursor

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      ClientCursor has a projection implementation that relies on the indexKeyPattern being constant. But with QueryOptimizerCursor (and MultiCursor) the indexKeyPattern may change over the course of iteration. These cursors can return a Projection::KeyOnly for projections but do not support the ClientCursor projection interface currently. Currently modifiedKeys will return true which should prevent a ClientCursor projection from being applied improperly.

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

              Created:
              Updated:
              Resolved: