explain forces a negative limit but find does not

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A limit passed to explain is forced to be negative

      n._limit = Math.abs(n._limit) * -1;
      

      But this is not the case with a find limit.

      This can potentially cause confusion when explain queries do not behave the same as their non explain counterparts.

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

              Created:
              Updated:
              Resolved: