How to implement the $regex query with the mongoDB $match query

前端 未结 0 1716
半阙折子戏
半阙折子戏 2020-11-27 19:18

Here is my code

const searchStringResult = (payload.match?.searchString);

  const paginate = [
    {
      $facet: {
        metadata: [{ $count: \'total\' }         


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