Cómo escribir claves de Redis* en código Java
El código es el siguiente:
local food=redis.call('hget ', KEYS[1], 'food ');
Comida = comida ARGV[1]; /p>
redis.call('hset ', LLAVES[1], ' comida ', comida
local diamante=redis.call('hget ', LLAVES[1], ' diamante ') ;
diamante = diamante ARGV[2];
redis.call('hset', KEYS[1], 'diamante', diamante);