mongodb 查询指定查询结果字段顺序

2025-04-27 23:22:48
推荐回答(1个)
回答1:

db.test.find.sort( { age: -1 , name: 1} );