MongoDB基本操作之Python篇
连接数据库 MongoClient VS Connection5.2查询特定键(£ ields)
select name, age from users where age=21
for u in db. users find((age: 21], ["name",age!): print u
for u in db. users find(fields =L"name",age ): printl
5.3排序(SORT)
pymmongo. ASCEND