我正在尝试使用firestore实现多查询和分页,但是一旦我将<或>添加到查询中,光标就无法正常工作.
//working example:
the doc id i save as propery on the doc
ref.where('category','==' 'cats').where('status', '==', 1).orderBy('id').cursor('last doc id from the returned list').limit(3)
//not working exmple:
ref.where('category','==' 'cats').where('status', '==', 1).orderBy('price').where('price', '>=', 2).where('price', '<=', 55).orderBy('id').cursor('last doc id from the returned list').limit(3)
Run Code Online (Sandbox Code Playgroud)
没有错误返回.是firestore还是我的错误?