I have following Redis LUA script:
eval "if redis.call('ZSCORE', KEYS[1], ARGV[1]) == nil then return 'true' else return 'false' end" 1 stats test
In return I always get 'false', although that following command returns nil:
zscore stats test
Result:
(nil)
Expected result of the first command would be 'true'. I've changed key and argument of the first command to random values and I always get 'false'. Can anyone help me with that? I'm using Redis 2.8.17.