指定筛选条件
wx.cloud.database.collection.
where
rule (object) – 筛选条件
Query
找出未完成的进度 50 的待办事项
const db = wx.cloud.database() db.collection('todos').where({ done: false, progress: 50 }) .get({ success: console.log, fail: console.error })