获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
多谢二位。。。服了我自己了
出现db.RegExp is not a constructor,这是怎么回事呢?db.collection("data") .where({ remarks: new db.Regexp({ regexp:'rem-[0-9]', options:'i' }) }) .get().then(console.log)
2020-04-05解决了没有,遇到同样的问题: db.RegExp is not a constructor
db.RegExp is not a constructordb.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
2020-04-05