rediscl v0.2.8 Rediscl.Query View Source
Minimal redis command
Link to this section Summary
Functions
Run a command
Run a command with key
Del a keys
Key is exists
Get a key redis client
Force et a key redis client
Left push for list with key and values
Get for list with given key and start indx and stop index
Remove from list element with given key and element count
Set from list with given key and index and value
Multiple get a value with given keys redis client
Multiple set a keys and values redis clients
Pipe queries
Right push for list with key and values
Set a key, single value redis client
Link to this section Functions
append(key, value, opts \\ []) View Source
command(command) View Source
Run a command
command(command, key, opts \\ []) View Source
Run a command with key
decr(key, opts \\ []) View Source
decr_by(key, decrement, opts \\ []) View Source
del(keys, opts \\ []) View Source
Del a keys
exists(key, opts \\ []) View Source
Key is exists
get(key, opts \\ []) View Source
Get a key redis client
get!(key, opts \\ []) View Source
Force et a key redis client
get_range(key, start, stop, opts \\ []) View Source
get_set(key, value, opts \\ []) View Source
incr(key, opts \\ []) View Source
incr_by(key, value, opts \\ []) View Source
incr_by_float(key, value, opts \\ []) View Source
lpush(key, value, opts \\ []) View Source
Left push for list with key and values
lrange(key, start, stop, opts \\ []) View Source
Get for list with given key and start indx and stop index
lrem(key, count, value, opts \\ []) View Source
Remove from list element with given key and element count
lset(key, index, value, opts \\ []) View Source
Set from list with given key and index and value
mget(keys, opts \\ []) View Source
Multiple get a value with given keys redis client
mset(keys_and_values, opts \\ []) View Source
Multiple set a keys and values redis clients
mset_nx(keys_and_values, opts \\ []) View Source
pipe(queries) View Source
Pipe queries
pset_ex(key, milisecond, value, opts \\ []) View Source
rpush(key, value, opts \\ []) View Source
Right push for list with key and values
run_pipe(pipes)
View Source
run_pipe(List.t()) :: {:ok, Rediscl.Query.Pipe.t()}
run_pipe(List.t()) :: {:ok, Rediscl.Query.Pipe.t()}
sadd(key, values, opts \\ []) View Source
scard(key, opts \\ []) View Source
sdiff(keys, opts \\ []) View Source
sdiffstore(key, keys, opts \\ []) View Source
set(key, value, opts \\ []) View Source
Set a key, single value redis client