Rediscl.Query.Api (rediscl v0.3.0) View Source

Query api funcs

Link to this section Summary

Functions

Creates the zadd :eredis query list, based on the given arguments.

Creates the zcard :eredis query list, based on the given arguments.

Creates the zcount :eredis query list, based on the given arguments.

Creates the zincrby :eredis query list, based on the given arguments.

Creates the zinter :eredis query list, based on the given arguments.

Creates the zinterstore :eredis query list, based on the given arguments.

Creates the zlexcount :eredis query list, based on the given arguments.

Creates the zrange :eredis query list, based on the given arguments.

Creates the zrangebylex :eredis query list, based on the given arguments.

Creates the zrangebyscore :eredis query list, based on the given arguments.

Creates the zrank :eredis query list, based on the given arguments.

Creates the zrem :eredis query list, based on the given arguments.

Creates the zremrangebylex :eredis query list, based on the given arguments.

Creates the zremrangebyrank :eredis query list, based on the given arguments.

Creates the zremrangebyscore :eredis query list, based on the given arguments.

Creates the zrevrange :eredis query list, based on the given arguments.

Creates the zrevrangebylex :eredis query list, based on the given arguments.

Creates the zrevrangebyscore :eredis query list, based on the given arguments.

Creates the zrevrank :eredis query list, based on the given arguments.

Creates the zscan :eredis query list, based on the given arguments.

Creates the zscore :eredis query list, based on the given arguments.

Creates the zunion :eredis query list, based on the given arguments.

Creates the zunionstore :eredis query list, based on the given arguments.

Link to this section Functions

Link to this function

append(key, value, opts \\ [])

View Source

Specs

append(
  String.t() | List.t() | Map.t(),
  String.t() | List.t() | Map.t(),
  Keyword.t()
) :: List.t()

Specs

command(String.t()) :: List.t()
Link to this function

command(command, key_or_keys, opts \\ [])

View Source

Specs

command(String.t(), List.t(), Keyword.t()) :: List.t()

Specs

decr(String.t(), Keyword.t()) :: List.t()
Link to this function

decr_by(key, decrement, opts \\ [])

View Source

Specs

decr_by(String.t(), Integer.t(), Keyword.t()) :: List.t()

Specs

del(List.t() | Map.t() | String.t(), Keyword.t()) :: List.t()

Specs

exists(String.t() | List.t() | Map.t(), Keyword.t()) :: List.t()

Specs

get(String.t(), Keyword.t()) :: List.t()
Link to this function

get_range(key, start, stop, opts \\ [])

View Source

Specs

get_range(String.t(), Integer.t(), Integer.t(), Keyword.t()) :: List.t()
Link to this function

get_set(key, value, opts \\ [])

View Source

Specs

get_set(String.t(), String.t(), Keyword.t()) :: List.t()

Specs

incr(String.t(), Keyword.t()) :: List.t()
Link to this function

incr_by(key, value, opts \\ [])

View Source

Specs

incr_by(String.t(), Integer.t(), Keyword.t()) :: List.t()
Link to this function

incr_by_float(key, value, opts \\ [])

View Source

Specs

incr_by_float(String.t(), String.t(), Keyword.t()) :: List.t()
Link to this function

lpush(key, values, opts \\ [])

View Source

Specs

lpush(String.t(), List.t(), Keyword.t()) :: List.t()
Link to this function

lrange(key, start, stop, opts \\ [])

View Source

Specs

lrange(String.t() | List.t() | Map.t(), Integer.t(), Integer.t(), Keyword.t()) ::
  List.t()
Link to this function

lrem(key, count, value, opts \\ [])

View Source

Specs

lrem(String.t(), Integer.t(), String.t(), Keyword.t()) :: List.t()
Link to this function

lset(key, index, value, opts \\ [])

View Source

Specs

mget(List.t(), Keyword.t()) :: List.t()
Link to this function

mset(keys_and_values, opts \\ [])

View Source

Specs

mset(List.t(), Keyword.t()) :: List.t()
Link to this function

mset_nx(keys_and_values, opts \\ [])

View Source

Specs

mset_nx(List.t(), Keyword.t()) :: List.t()
Link to this function

pset_ex(key, milisecond, value, opts \\ [])

View Source

Specs

pset_ex(String.t(), Integer.t(), String.t() | Integer.t(), Keyword.t()) ::
  List.t()
Link to this function

rpush(key, values, opts \\ [])

View Source

Specs

rpush(String.t(), List.t(), Keyword.t()) :: List.t()
Link to this function

sadd(key, values, opts \\ [])

View Source

Specs

sadd(
  String.t() | List.t() | Map.t(),
  String.t() | List.t() | Map.t(),
  Keyword.t()
) :: List.t()

Specs

scard(String.t() | List.t() | Map.t(), Keyword.t()) :: List.t()

Specs

sdiff(List.t(), Keyword.t()) :: List.t()
Link to this function

sdiffstore(key, keys, opts \\ [])

View Source

Specs

sdiffstore(String.t() | List.t() | Map.t(), List.t(), Keyword.t()) :: List.t()
Link to this function

set(key, value, opts \\ [])

View Source

Specs

set(
  String.t() | List.t() | Map.t(),
  String.t() | List.t() | Map.t(),
  Keyword.t()
) :: List.t()
Link to this function

set_ex(key, second, value, opts \\ [])

View Source

Specs

set_ex(
  String.t() | List.t() | Map.t(),
  Integer.t(),
  String.t() | List.t() | Map.t() | Integer.t(),
  Keyword.t()
) :: List.t()
Link to this function

set_nx(key, value, opts \\ [])

View Source

Specs

set_nx(
  String.t() | List.t() | Map.t(),
  String.t() | List.t() | Map.t() | Integer.t(),
  Keyword.t()
) :: List.t()
Link to this function

set_range(key, offset, value, opts \\ [])

View Source

Specs

set_range(
  String.t() | List.t() | Map.t(),
  Integer.t(),
  String.t() | List.t() | Map.t(),
  Keyword.t()
) :: List.t()
Link to this function

sinter(keys, opts \\ [])

View Source

Specs

sinter(List.t(), Keyword.t()) :: List.t()
Link to this function

sinterstore(key, keys, opts \\ [])

View Source

Specs

sinterstore(String.t() | Map.t() | List.t(), List.t(), Keyword.t()) :: List.t()
Link to this function

sismember(key, value, opts \\ [])

View Source

Specs

sismember(String.t() | List.t() | Map.t(), String.t(), Keyword.t()) :: List.t()
Link to this function

smembers(key, opts \\ [])

View Source

Specs

smembers(String.t() | List.t() | Map.t(), Keyword.t()) :: List.t()
Link to this function

smove(key_one, key_two, value, opts \\ [])

View Source

Specs

smove(
  String.t() | List.t() | Map.t(),
  String.t() | List.t() | Map.t(),
  String.t() | List.t() | Map.t(),
  Keyword.t()
) :: List.t()
Link to this function

spop(key, count \\ nil, opts \\ [])

View Source

Specs

spop(String.t() | List.t() | Map.t(), Integer.t() | nil, Keyword.t()) ::
  List.t()
Link to this function

srandmember(key, count \\ nil, opts \\ [])

View Source

Specs

srandmember(String.t() | List.t() | Map.t(), Integer.t() | nil, Keyword.t()) ::
  List.t()
Link to this function

srem(key, value_or_values, opts \\ [])

View Source

Specs

srem(
  String.t() | List.t() | Map.t(),
  String.t() | List.t() | Map.t(),
  Keyword.t()
) :: List.t()
Link to this function

sscan(key, values, opts \\ [])

View Source

Specs

sscan(String.t() | Integer.t() | List.t() | Map.t(), List.t(), Keyword.t()) ::
  List.t()

Specs

strlen(String.t(), Keyword.t()) :: List.t()
Link to this function

sunion(keys, opts \\ [])

View Source

Specs

sunion(List.t(), Keyword.t()) :: List.t()
Link to this function

sunionstore(key, keys, opts \\ [])

View Source

Specs

sunionstore(String.t() | List.t() | Map.t(), List.t(), Keyword.t()) :: List.t()
Link to this function

zadd(key, score, value, opts \\ [])

View Source

Specs

zadd(String.t(), Integer.t(), String.t(), Keyword.t()) :: List.t()

Creates the zadd :eredis query list, based on the given arguments.

Specs

zcard(String.t(), Keyword.t()) :: List.t()

Creates the zcard :eredis query list, based on the given arguments.

Link to this function

zcount(key, min, max, opts \\ [])

View Source

Specs

zcount(String.t(), Integer.t(), Integer.t(), Keyword.t()) :: List.t()

Creates the zcount :eredis query list, based on the given arguments.

Link to this function

zincrby(key, increment, value, opts \\ [])

View Source

Specs

zincrby(String.t(), Integer.t(), String.t(), Keyword.t()) :: List.t()

Creates the zincrby :eredis query list, based on the given arguments.

Link to this function

zinter(keys, opts \\ [])

View Source

Specs

zinter(List.t(), Keyword.t()) :: List.t()

Creates the zinter :eredis query list, based on the given arguments.

Link to this function

zinterstore(key, keys, opts \\ [])

View Source

Specs

zinterstore(String.t() | List.t() | Map.t(), List.t(), Keyword.t()) :: List.t()

Creates the zinterstore :eredis query list, based on the given arguments.

Link to this function

zlexcount(key, min, max, opts \\ [])

View Source

Specs

zlexcount(String.t(), String.t(), String.t(), Keyword.t()) :: List.t()

Creates the zlexcount :eredis query list, based on the given arguments.

Link to this function

zrange(key, min, max, opts \\ [])

View Source

Specs

zrange(String.t(), Integer.t(), Integer.t(), Keyword.t()) :: List.t()

Creates the zrange :eredis query list, based on the given arguments.

Link to this function

zrangebylex(key, min, max, opts \\ [])

View Source

Specs

zrangebylex(String.t(), String.t(), String.t(), Keyword.t()) :: List.t()

Creates the zrangebylex :eredis query list, based on the given arguments.

Link to this function

zrangebyscore(key, min, max, opts \\ [])

View Source

Specs

zrangebyscore(String.t(), Integer.t(), Integer.t(), Keyword.t()) :: List.t()

Creates the zrangebyscore :eredis query list, based on the given arguments.

Link to this function

zrank(key, value, opts \\ [])

View Source

Specs

zrank(String.t(), String.t(), Keyword.t()) :: List.t()

Creates the zrank :eredis query list, based on the given arguments.

Link to this function

zrem(key, value, opts \\ [])

View Source

Specs

zrem(String.t(), String.t(), Keyword.t()) :: List.t()

Creates the zrem :eredis query list, based on the given arguments.

Link to this function

zremrangebylex(key, min, max, opts \\ [])

View Source

Specs

zremrangebylex(String.t(), String.t(), String.t(), Keyword.t()) :: List.t()

Creates the zremrangebylex :eredis query list, based on the given arguments.

Link to this function

zremrangebyrank(key, min, max, opts \\ [])

View Source

Specs

zremrangebyrank(String.t(), Integer.t(), Integer.t(), Keyword.t()) :: List.t()

Creates the zremrangebyrank :eredis query list, based on the given arguments.

Link to this function

zremrangebyscore(key, min, max, opts \\ [])

View Source

Specs

zremrangebyscore(String.t(), Integer.t(), Integer.t(), Keyword.t()) :: List.t()

Creates the zremrangebyscore :eredis query list, based on the given arguments.

Link to this function

zrevrange(key, min, max, opts \\ [])

View Source

Specs

zrevrange(String.t(), Integer.t(), Integer.t(), Keyword.t()) :: List.t()

Creates the zrevrange :eredis query list, based on the given arguments.

Link to this function

zrevrangebylex(key, max, min, opts \\ [])

View Source

Specs

zrevrangebylex(String.t(), String.t(), String.t(), Keyword.t()) :: List.t()

Creates the zrevrangebylex :eredis query list, based on the given arguments.

Link to this function

zrevrangebyscore(key, max, min, opts \\ [])

View Source

Specs

zrevrangebyscore(String.t(), Integer.t(), Integer.t(), Keyword.t()) :: List.t()

Creates the zrevrangebyscore :eredis query list, based on the given arguments.

Link to this function

zrevrank(key, value, opts \\ [])

View Source

Specs

zrevrank(String.t(), String.t(), Keyword.t()) :: List.t()

Creates the zrevrank :eredis query list, based on the given arguments.

Link to this function

zscan(key, values, opts \\ [])

View Source

Specs

zscan(String.t() | Integer.t() | List.t() | Map.t(), List.t(), Keyword.t()) ::
  List.t()

Creates the zscan :eredis query list, based on the given arguments.

Link to this function

zscore(key, value, opts \\ [])

View Source

Specs

zscore(String.t(), String.t(), Keyword.t()) :: List.t()

Creates the zscore :eredis query list, based on the given arguments.

Link to this function

zunion(keys, opts \\ [])

View Source

Specs

zunion(List.t(), Keyword.t()) :: List.t()

Creates the zunion :eredis query list, based on the given arguments.

Link to this function

zunionstore(key, keys, opts \\ [])

View Source

Specs

zunionstore(String.t() | List.t() | Map.t(), List.t(), Keyword.t()) :: List.t()

Creates the zunionstore :eredis query list, based on the given arguments.