openresty / lua-resty-redis

Lua redis client driver for the ngx_lua based on the cosocket API
1.9k stars 448 forks source link

where is redis:exists() explain? #180

Open YazaiHu opened 4 years ago

toredash commented 4 years ago

@YazaiHu

Is it there. The commands are dynamically created in these lines: https://github.com/openresty/lua-resty-redis/blob/master/lib/resty/redis.lua#L500-L510

You should be able to call redis:exists("key")