ExportXMLWordPrintableJSON

    • Query Optimization
    • ALL
    • v9.0, v8.0, v7.0
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      db.c.find({x: {$elemMatch: {$all: [3, 5]}}}) 

      parses into 

      db.c.find({x: {$elemMatch: {$and: [{$eq: 3}, {$eq: 5}]}}}) 

      which is not a reparseable query ("unknown top level operator: $eq. If you have a field name that starts with a '$' symbol, consider using $getField or $setField.").

            Assignee:
            Alya Berciu
            Reporter:
            Alyssa Clark (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated: