db.command.gtdb.command.gt查询筛选条件,表示字段需大于指定值。 方法签名: function gt(value: number): Command 示例代码 找出进度大于 50 的 todo const _ = db.commanddb.collection('todos').where({ progress: _.gt(50)}).get({ success: console.log, fail: console.error}) 原文: https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-client-api/database/command.gt.html