Optimize: generated get and set field MQL

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Builders
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When setting or getting fields in our expressions API, the resulting MQL is verbose, since it produces $getField and $setField MQL. 

      • It should be possible to use a post-processor to collapse some of these into simple string paths. 
      • For literal documents, it should be possible to execute the gets and sets in the "local execution context" (storing and producing a new internal document each time, rather than generating composite expressions that wrap the original literal document).

              Assignee:
              Unassigned
              Reporter:
              Maxim Katcharov
              None
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: