misleading error message printed when attempting to perform an unindexed sort on parallel arrays

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.1.0
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      > c.drop()
      true
      > c.save(

      {a:[[],[]]}

      )
      > c.find().sort(

      {'a.0':1,'a.1':1}

      )
      error:

      { "$err" : "cannot index parallel arrays [1] [0]", "code" : 10088 }

      There are no indexes involved here - the text of the error message should be changed.

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

              Created:
              Updated:
              Resolved: