How to execute a query in mongoose with params, one of which is an array if the array is undefined?

后端 未结 0 621
被撕碎了的回忆
被撕碎了的回忆 2020-12-13 19:57

I need to execute a query with a set of params that are passed through headers. One of the params is an array of strings. The query looks like this:

router.ge         


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