_.gte 处理Date和Geo对象怎么使用
发布于 6 年前 作者 tao92 17660 次浏览 来自 问答

collection.where({

    createTime: _.gte(new Date(record.createTime)),

}).count()


_.gte 没有筛选出创建时间大于等于当前记录record的createTime


_.gte处理Date 和 Geo类型怎么处理呢


1 回复

云开发已新增多种地理位置数据类型的支持以及基于地理位置的查询的支持

https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/database/geo.html

回到顶部