Mongodb内嵌对象关联查询

db.table.find({ "createTime" : { "$gte" : ISODate("2018-10-30T00:00:00Z"),"$lt":ISODate("2018-10-30T23:59:00Z")}, "equip.$id":ObjectId("5bc84e77e4b07af3586c10ce") })
posted @ 2018-11-27 17:16  皇问天  阅读(2292)  评论(0编辑  收藏  举报