How to sort on a field of type array in MongoDb

后端 未结 0 758
走了就别回头了
走了就别回头了 2020-12-02 21:08

I am trying to write a query which will sort the dates in an array field in MongoDb.

I have following data:

/* 1 */
{
    "_id" : ObjectId(&q         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题