读取云函数where中使用and的问题?

发布于 9 年前作者 tangqiang3174 次浏览最后编辑 9 年前来自 issues

db.collection('nanmee')

.where({

qjtime: _.gte("2020-01-01").and(_.lte("2020-03-09"))

}).get()

进行范围查询,但是提示RuntimeError: cannot get property ‘and’ (at line 3, col 32) , 请问范围查询语法应该怎么写,感谢。

1 回复