db.RegExp is not a constructor

发布于 8 年前作者 guiyinggu18243 次浏览最后编辑 8 年前来自 ask

 db.collection(“aa”).where({        say:new db.RegExp({          regexp: ‘aaaa’,          options: ‘m’,        })      }).get({        success:res=>{          console.log(res);        }

     })

报错

db.RegExp is not a constructor;at pages/search/search page search function

TypeError: db.RegExp is not a constructor

2 回复
xiuying06
xiuying061 楼6 年前

db.RegExp is not a function;我遇到了这个

whe
whe2 楼6 年前

大家跳转小程序的时候有没有遇到过这个问题啊?navigateToMiniProgramAppIdList