We understand that in Aerospike, a “key” consists of a namespace,set,key. And using aql, we can show every records in a ns.set; however it does not show the key of each record. Is there a way to list the keys in a ns.set?
There is a way to list the keys in a
ns.set, you can use
AS_POLICY_KEY_SEND, If you want keys to be returned when scanning or querying, the keys must be stored on the server. This policy causes a write operation to store the key. Once a key is stored, the server will keep it – there is no need to use this policy on subsequent updates of the record.