Add new $_internalIndexKey agg expression

XMLWordPrintableJSON

    • Fully Compatible
    • QE 2022-12-12, QE 2022-12-26, QE 2023-01-09
    • 10
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Takes in a document, outputs an array of new objects that have their values converted into their index representation. Any fields in the input document not included in the "key" spec will be stripped in the output. If the index value contains a multikey index entry, then the output array will contain multiple documents, otherwise it will only contain one document. This expression should also be exempted from the 100MB limit.

       

      Field description
      doc input document
      spec index key spec (format is similar to createIndex)

            Assignee:
            Rishab Joshi (Inactive)
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: