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

[Server] Revision on arrayToObject

      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)

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

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