package redis
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type connection = private Client.Make(IO).connection = {
fd : IO.file_descr;
in_ch : IO.in_channel;
out_ch : IO.out_channel;
}
exception Unexpected of reply
val connect : connection_spec -> connection IO.t
val disconnect : connection -> unit IO.t
val with_connection : connection_spec -> (connection -> 'a IO.t) -> 'a IO.t
val auth : connection -> string -> unit IO.t
val echo : connection -> string -> string option IO.t
val ping : connection -> bool IO.t
val quit : connection -> unit IO.t
val select : connection -> int -> unit IO.t
val del : connection -> string list -> int IO.t
val exists : connection -> string -> bool IO.t
val expire : connection -> string -> int -> bool IO.t
val expireat : connection -> string -> float -> bool IO.t
val keys : connection -> string -> string list IO.t
val move : connection -> string -> int -> bool IO.t
val persist : connection -> string -> bool IO.t
val randomkey : connection -> string option IO.t
val rename : connection -> string -> string -> unit IO.t
val renamenx : connection -> string -> string -> bool IO.t
val sort :
connection ->
?by:string ->
?limit:(int * int) ->
?get:'a list ->
?order:[< `Asc | `Desc ] ->
?alpha:bool ->
string ->
string list IO.t
val sort_and_store :
connection ->
?by:string ->
?limit:(int * int) ->
?get:'a list ->
?order:[< `Asc | `Desc ] ->
?alpha:bool ->
string ->
string ->
int IO.t
val ttl : connection -> string -> int option IO.t
val type_of :
connection ->
string ->
[> `Hash | `List | `None | `String | `Zset ] IO.t
val append : connection -> string -> string -> int IO.t
val decr : connection -> string -> int IO.t
val decrby : connection -> string -> int -> int IO.t
val get : connection -> string -> string option IO.t
val getbit : connection -> string -> int -> int IO.t
val getrange : connection -> string -> int -> int -> string option IO.t
val getset : connection -> string -> string -> string option IO.t
val incr : connection -> string -> int IO.t
val incrby : connection -> string -> int -> int IO.t
val mget : connection -> string list -> string option list IO.t
val mset : connection -> (string * string) list -> unit IO.t
val msetnx : connection -> (string * string) list -> bool IO.t
val set : connection -> string -> string -> unit IO.t
val setbit : connection -> string -> int -> int -> int IO.t
val setex : connection -> string -> int -> string -> unit IO.t
val setnx : connection -> string -> string -> bool IO.t
val setrange : connection -> string -> int -> string -> int IO.t
val strlen : connection -> string -> int IO.t
val hdel : connection -> string -> string -> bool IO.t
val hexists : connection -> string -> string -> bool IO.t
val hget : connection -> string -> string -> string option IO.t
val hgetall : connection -> string -> (string * string) list IO.t
val hincrby : connection -> string -> string -> int -> int IO.t
val hkeys : connection -> string -> string list IO.t
val hlen : connection -> string -> int IO.t
val hmget : connection -> string -> string list -> string option list IO.t
val hmset : connection -> string -> (string * string) list -> unit IO.t
val hset : connection -> string -> string -> string -> bool IO.t
val hsetnx : connection -> string -> string -> string -> bool IO.t
val hvals : connection -> string -> string list IO.t
val blpop : connection -> string list -> int -> (string * string) option IO.t
val brpop : connection -> string list -> int -> (string * string) option IO.t
val brpoplpush : connection -> string -> string -> int -> string option IO.t
val lindex : connection -> string -> int -> string option IO.t
val linsert :
connection ->
string ->
[< `After | `Before ] ->
string ->
string ->
int option IO.t
val llen : connection -> string -> int IO.t
val lpop : connection -> string -> string option IO.t
val lpush : connection -> string -> string -> int IO.t
val lpushx : connection -> string -> string -> int IO.t
val lrange : connection -> string -> int -> int -> string list IO.t
val lrem : connection -> string -> int -> string -> int IO.t
val lset : connection -> string -> int -> string -> unit IO.t
val ltrim : connection -> string -> int -> int -> unit IO.t
val rpop : connection -> string -> string option IO.t
val rpoplpush : connection -> string -> string -> string option IO.t
val rpush : connection -> string -> string -> int IO.t
val rpushx : connection -> string -> string -> int IO.t
val sadd : connection -> string -> string -> bool IO.t
val scard : connection -> string -> int IO.t
val sdiff : connection -> string list -> string list IO.t
val sdiffstore : connection -> string -> string list -> int IO.t
val sinter : connection -> string list -> string list IO.t
val sinterstore : connection -> string -> string list -> int IO.t
val sismember : connection -> string -> string -> bool IO.t
val smembers : connection -> string -> string list IO.t
val smove : connection -> string -> string -> string -> bool IO.t
val spop : connection -> string -> string option IO.t
val srandmember : connection -> string -> string option IO.t
val srem : connection -> string -> string -> bool IO.t
val sunion : connection -> string list -> string list IO.t
val sunionstore : connection -> string -> string list -> int IO.t
val multi : connection -> unit IO.t
val exec : connection -> reply list IO.t
val discard : connection -> unit IO.t
val watch : connection -> string list -> unit IO.t
val unwatch : connection -> unit IO.t
val bgrewriteaof : connection -> unit IO.t
val bgsave : connection -> unit IO.t
val config_resetstat : connection -> unit IO.t
val dbsize : connection -> int IO.t
val flushall : connection -> unit IO.t
val flushdb : connection -> unit IO.t
val info : connection -> (string * string) list IO.t
val lastsave : connection -> float IO.t
val save : connection -> unit IO.t
val shutdown : connection -> unit IO.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>