Ensure valid jsonSchema in timeseries updates

XMLWordPrintableJSON

    • Query Integration
    • Fully Compatible
    • ALL
    • v9.0, v8.3, v8.2, v8.0, v7.0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      printjson(testDb.runCommand({
      create:'ts',
      timeseries: \{timeField:'t', metaField:'m'}
      }));
      
      printjson(testDb.ts.insert(\{t: new Date(), m: 1, x: 1}));
       
      printjson(testDb.runCommand({
      update:'ts',
      updates: [
      {
      q: \{$jsonSchema: []},
      u: \{$set: {m:2}},
      multi:true
      }
      ]
      }));

            Assignee:
            Santiago Roche
            Reporter:
            Santiago Roche
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: