英文:
How to get list of sets with Aerospike go client?
问题
使用Aerospike的golang客户端,可以通过执行"SHOW SETS"查询来获取命名空间中所有可用集合的列表。
英文:
With Aerospike aql tool it's possible to execute "SHOW SETS" query and get list of all available sets in a namespace. But how to get this list with Aerospike golang client?
答案1
得分: 5
你正在寻找“info”命令。
https://godoc.org/github.com/aerospike/aerospike-client-go#RequestInfo
根据你的请求,你需要调用“sets”命令。
http://www.aerospike.com/docs/reference/info/#sets
英文:
You are looking for the "info" commands.
https://godoc.org/github.com/aerospike/aerospike-client-go#RequestInfo
For your request, you will need to invoke the "sets" command.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论