查询语句
2017-12-11 17:01:37    178    0    0
akiragatsu

db.getCollection('CONNECTTION_NAME').find({键:值})


排序

db.CONNECTTION_NAME.find().sort({KEY:1}) 

指定Key进行排序、1升顺、2降序

Pre: 生活小记 --皓月姐姐

Next: CPUID

178
Sign in to leave a comment.
No Leanote account? Sign up now.
0 comments
Table of content