redis-lua
redis-lua copied to clipboard
A Lua client library for the redis key value storage system.
"Database URI ([redis://][username:password@]hostname:port[/db])", "Redis server", defaddress) I dont find cluster setting
help!!!!
When I use lpush to add UUID string to redis, it will automatically become UUID in redis and key does not exist
The two methods on the client that permit 'disconnecting' from redis are :quit() and :shutdown(). However, [both of them only call :shutdown()](https://github.com/nrk/redis-lua/blob/880dda904909adfed0ad79cdd80317c6dd1a005a/src/redis.lua#L479-L488) on the underlying luasocket socket: ``` client_prototype.quit =...
For Lua 5.2 and 5.3 compatibility, change all dangerous: ``` lua table.insert(table,pos,value) ``` to ``` lua table[pos] = value ```
I can only seem to connect to redis db 0. I would like to connect to the redis db at index 15 at this uri `redis://localhost:6379/15`. is this possible? if...
buffer[1] = '*' .. tostring(argsn + 1) .. "\r\n" buffer[2] = '$' .. #command .. "\r\n" .. command .. "\r\n" local table_insert = table.insert for i = 1, argsn do...
Why [ZPOPMIN](https://redis.io/commands/zpopmin) return error: `attempt to call a nil value (method 'zpopmin')` And how to use this command?