MongoDB regex and operators - how to find by two values

后端 未结 0 1175
挽巷
挽巷 2021-01-03 19:53

I have this following query:

Batch.find({batchNumber: {$regex : "^" + "20pp"}}, null, { sort: { batchNumber: -1 } }, function (err, orders         


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