Sort Sub Documents in MongoDB

后端 未结 5 1252
北恋
北恋 2020-12-17 14:52

Is there a way to sort sub documents in a mongo query?

For example:

{
  \"_id\" : ObjectId(\"4c69d19532f73ad544000001\"),
  \"content\" : \"blah bla         


        
5条回答
提交回复
热议问题