ing-batch-redis.3.6.6.source-code.randomkeytype.lua Maven / Gradle / Ivy
-- Returns a random key and its type
local key = redis.call('RANDOMKEY')
local type = redis.call('TYPE', key)['ok']
return { key, type }
© 2015 - 2024 Weber Informatics LLC | Privacy Policy