如果集合中的字段key为list 数据为:`{ "_id" : ObjectId("5f06c12dfd9c5188ba39c511"), "list" : [ 11, 22, 33, 44, 55 ] }`查询为:db.getCollection('text').find({list:{$in:[11]}})$in 后的数组即为可能的数值
如果集合中的字段key为list
数据为:
`{
}`
查询为:
db.getCollection('text').find({list:{$in:[11]}})
$in 后的数组即为可能的数值