Mongoose operator $regex doens not work inside $or

前端 未结 0 471
走了就别回头了
走了就别回头了 2020-12-13 09:21

I am trying to handle request to the url with 2 options:

  1. /api/v1/someEndpoint/1
  2. /api/v1/someEndpoint/SomeTitle

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