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

Grammar rejects dotted-path find filters

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • ALL
    • Query 2020-10-05

      Currently, with CST Parsing enabled, we can't parse dotted-path fieldnames for find filters.

      db.example.find( {"a.b": 1} )
      Error: error: {
      	"ok" : 0,
      	"errmsg" : "syntax error, unexpected fieldname containing dotted path at element 'a.b' of input filter",
      	"code" : 9,
      	"codeName" : "FailedToParse"
      }
      

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: