Is the $query operator obsolete in 3.4.6 ?Below is my test: pradb>db.t1225_1.find( { $query: { age : 25 } } ) Error: error: { "ok" : 0, "errmsg" : "unknown top level operator: $query", "code" : 2, "codeName" : "BadValue" } Is the $query operator obsolete in 3.4.6 ? If it is the fact, From which version ?
Is the $query operator obsolete in 3.4.6 ?
>db.t1225_1.find( { $query: { age : 25 } } )
Supported syntax for your query would be: db.t1225_1.find( { age : 25 } ).
Regards,
Stennie