Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
*Location*: https://docs.mongodb.com/manual/reference/operator/query/type/#document-querying-by-array-type
*User-Agent*: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36
*Referrer*: https://docs.mongodb.com/manual/reference/operator/query/type/
*Screen Resolution*: 2393 x 1346
*Location*: https://docs.mongodb.com/manual/reference/operator/query/type/#document-querying-by-array-type *User-Agent*: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36 *Referrer*: https://docs.mongodb.com/manual/reference/operator/query/type/ *Screen Resolution*: 2393 x 1346
Description
db.SensorReading.find( "readings" :
{ $type: "array" })
missing {} inside find()
db.SensorReading.find( { "readings" :
{ $type: "array" }})