1. 程式人生 > >mongo嵌套查詢

mongo嵌套查詢

ati tco tails www pre visio 嵌套查詢 tid shu

db.getCollection(‘TradeBookingRepresentation‘).find({uitid:‘168282:20190214010009224‘, tradeVersion:{major:2019021900, minor:904, revision:0}}).sort({_id:-1})
db.getCollection(‘TradeBookingRepresentation‘).find({uitid:‘168282:20190214010009224‘, "tradeVersion.major":2019021900}).sort({_id:-1})

https://blog.csdn.net/qq_24745557/article/details/81740909

https://www.jianshu.com/p/bc557ec82f60

https://www.jianshu.com/p/b28a73ba9a16

mongo嵌套查詢