aerospike / aerospike-client-go

Aerospike Client Go
Apache License 2.0
430 stars 199 forks source link

Getting record keys when using QueryObjects #416

Open marvelm opened 9 months ago

marvelm commented 9 months ago

I'm using client.QueryObjects to find all records matching a filter statement. My code looks almost exactly like this test: https://github.com/aerospike/aerospike-client-go/blob/aca062be09536c65a5cb701dd1c5d4906948fc58/client_object_test.go#L1194

How can I get the record key when doing such a query?