Skip to content

Instantly share code, notes, and snippets.

@rbotzer
Created November 2, 2019 08:11
Show Gist options
  • Save rbotzer/d76f9085f60362851d8fbf54e5776e2e to your computer and use it in GitHub Desktop.
Save rbotzer/d76f9085f60362851d8fbf54e5776e2e to your computer and use it in GitHub Desktop.
# grant the award once more
client.operate(key, ops)
# get the top three scores
ops = [mh.map_get_by_rank_range("scores", -3, 3, aerospike.MAP_RETURN_KEY_VALUE)]
k, m, b = client.operate(key, ops)
pp.pprint(b["scores"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment