Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10675

[Server] Revision on arrayToObject

    XMLWordPrintableJSON

Details

    Description

      Instead of using $literal in the two example, just wrap the array in another array.

      Use a field expression instead of fixed values to show that it's possible (and that can't be done with $literal)

      Attachments

        Activity

          People

            david.hou@mongodb.com David Hou
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 8 weeks, 2 days ago