当前显示的示例是流:http://www.aerospike.com/docs/client/nodejs/usage/query/aggregate.html
有没有一种更简单的方法/方法可以:
options = filters: [ filter.equal('from_user', user_id) or filter.equal('to_user', user_id) ]
q = client.query('polls', 'chat', options)
allRecordsListJson= q.execute()
这可以在python和其他客户机中完成。你知道吗
Aerospike还不支持带有和/或连词的mutliple where子句的查询。所以现在,您只需要使用一个原因,在客户机级别进行过滤,或者使用流聚合并编写LUA代码来进行过滤并传递参数。你知道吗
相关问题 更多 >
编程相关推荐