getting null value for “db.trips.find({“birth year”:{”$ne“:null}},{“birth year”:1,”_id“:0}).sort({“birth year”:-1}).limit(1)”

前端 未结 0 1097
野趣味
野趣味 2020-12-13 06:54

My objective is to get the youngest birth year When I’m running query for this while sorting .sort({“birth year”:1}), i’m getting the exact value for oldest year but when i’

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