Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-32782

[Change Streams] Make updatedFields queryable for dot-notated fields

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.6.2
    • Component/s: Querying
    • Labels:
      None
    • Query
    • Fully Compatible

      Can we get a fix in the Change Streams generation engine generate updatedFields that are NOT dot-notated?

      For instance, instead of

      updatedFields: { 'device.temperature': 70}
      

      it would be nice if we could decompose the dot-notated 'device.temperature' string into:

      updatedFields: { device: {temperature: 70}}
      

      This is related to SERVER-21889.

      I know this might affect the performance of change streams but without that improvement, the use of change streams might turn out to be limited (and restricted to inserts and top-level attributes updates)

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            raphael.londner Raphael Londner
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: