【发布时间】:2017-08-28 17:28:45
【问题描述】:
在 AQL 中我可以做到
select * from ns.set where PK='some val'
如何查询值列表?类似的东西
select * from ns.set where PK in ('val1', 'val2'...)
当尝试运行上面的代码时,我得到“不支持的命令格式”
【问题讨论】:
在 AQL 中我可以做到
select * from ns.set where PK='some val'
如何查询值列表?类似的东西
select * from ns.set where PK in ('val1', 'val2'...)
当尝试运行上面的代码时,我得到“不支持的命令格式”
【问题讨论】:
在 AQL 中不支持。
Aerospike 客户端(您将在生产中使用)支持此功能。它称为批量索引读取。 http://www.aerospike.com/docs/guide/batch.html
【讨论】: