db.RegExp is not a constructor
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