Skip to content

Instantly share code, notes, and snippets.

@kristoff-it
Last active July 16, 2019 08:03
Show Gist options
  • Save kristoff-it/2046e63d5daae676b6832f000d6790ca to your computer and use it in GitHub Desktop.
Save kristoff-it/2046e63d5daae676b6832f000d6790ca to your computer and use it in GitHub Desktop.
$ redis-cli hset vec:1 x 10 y 5 z 23
$ redis-cli hset vec:2 x 2 y 5 z 5
$ cat script.py | redis-cli -x RG.PYEXECUTE
1) 1) "14.0"
2) "5.0"
3) "6.0"
2) (empty list or set)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment