Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get list of sets with Aerospike go client?

Tags:

aerospike

go

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?

like image 519
elgris Avatar asked Feb 02 '26 17:02

elgris


1 Answers

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.

http://www.aerospike.com/docs/reference/info/#sets

like image 149
kporter Avatar answered Feb 05 '26 08:02

kporter