-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
I'm not very familiar with calling Lua scripts in Redis and had trouble getting commands to work.
An easy to follow example might help:
redis> GEOADD Sicily 13.361389 38.115556 "Palermo" 15.087269 37.502669 "Catania"
$ redis-cli SCRIPT LOAD "$(cat geo.lua)"
$ redis-cli EVALSHA fd07... 0 help
The calls I tried below gave me errors. I'm not sure what i'm doing wrong and I tried various combinations but no luck.
$ redis-cli EVALSHA fd07... 0 GEOBEARING Sicily "Catania" "Palermo"
No geoset key name provided
$ redis-cli EVALSHA fd07... 1 GEODEL Sicily "Catania"
Unknown command SICILY
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels