package orewa
Async-friendly Redis client
Install
Dune Dependency
Authors
Maintainers
Sources
orewa-0.2.1.tbz
sha256=50c2bc62230a94f0856b9f2e414c6bff501fbf2071438d17cabdc0093bee718a
sha512=fba593b4fa15b557dceb3aa11e26a56f0de0308b321bf6e57b4d064f316efa18f5af44387e36c60509bfd954767230275dd29a051a95c8dcaad558b035d2778b
doc/orewa/Orewa/index.html
Module Orewa
Source
Source
val pp_common_error :
Ppx_deriving_runtime.Format.formatter ->
common_error ->
Ppx_deriving_runtime.unit
Source
val set :
t ->
key:string ->
?expire:Core.Time.Span.t ->
?exist:exist ->
string ->
(bool, [> common_error ]) Async.Deferred.Result.t
Source
val getrange :
t ->
start:int ->
end':int ->
string ->
(string, [> common_error ]) Async.Deferred.Result.t
Source
val getset :
t ->
key:string ->
string ->
(string option, [> common_error ]) Async.Deferred.Result.t
Source
val mget :
t ->
string list ->
(string option list, [> common_error ]) Async.Deferred.Result.t
Source
val lrange :
t ->
key:string ->
start:int ->
stop:int ->
(string list, [> common_error ]) Async.Deferred.Result.t
Source
val auth :
t ->
string ->
(unit, [> `Redis_error of string | common_error ]) Async.Deferred.Result.t
Source
val bitcount :
t ->
?range:(int * int) ->
string ->
(int, [> common_error ]) Async.Deferred.Result.t
Source
val bitfield :
t ->
?overflow:overflow ->
string ->
fieldop list ->
(int option list, [> common_error ]) Async.Deferred.Result.t
Source
val bitop :
t ->
destkey:string ->
?keys:string list ->
key:string ->
bitop ->
(int, [> common_error ]) Async.Deferred.Result.t
Source
val bitpos :
t ->
?start:int ->
?end':int ->
string ->
bit ->
(int option, [> common_error ]) Async.Deferred.Result.t
Source
val del :
t ->
?keys:string list ->
string ->
(int, [> common_error ]) Async.Deferred.Result.t
Source
val exists :
t ->
?keys:string list ->
string ->
(int, [> common_error ]) Async.Deferred.Result.t
Source
val expire :
t ->
string ->
Core.Time.Span.t ->
(int, [> common_error ]) Async.Deferred.Result.t
Source
val sadd :
t ->
key:string ->
?members:string list ->
string ->
(int, [> common_error ]) Async.Deferred.Result.t
Source
val sdiff :
t ->
?keys:string list ->
string ->
(string list, [> common_error ]) Async.Deferred.Result.t
Source
val sdiffstore :
t ->
destination:string ->
?keys:string list ->
key:string ->
(int, [> common_error ]) Async.Deferred.Result.t
Source
val sinter :
t ->
?keys:string list ->
string ->
(string list, [> common_error ]) Async.Deferred.Result.t
Source
val sinterstore :
t ->
destination:string ->
?keys:string list ->
key:string ->
(int, [> common_error ]) Async.Deferred.Result.t
Source
val sismember :
t ->
key:string ->
string ->
(bool, [> common_error ]) Async.Deferred.Result.t
Source
val smove :
t ->
source:string ->
destination:string ->
string ->
(bool, [> common_error ]) Async.Deferred.Result.t
Source
val spop :
t ->
?count:int ->
string ->
(string list, [> common_error ]) Async.Deferred.Result.t
Source
val srandmember :
t ->
?count:int ->
string ->
(string list, [> common_error ]) Async.Deferred.Result.t
Source
val srem :
t ->
key:string ->
?members:string list ->
string ->
(int, [> common_error ]) Async.Deferred.Result.t
Source
val sunion :
t ->
?keys:string list ->
string ->
(string list, [> common_error ]) Async.Deferred.Result.t
Source
val sunionstore :
t ->
destination:string ->
?keys:string list ->
key:string ->
(int, [> common_error ]) Async.Deferred.Result.t
Source
val sort :
t ->
?by:string ->
?limit:(int * int) ->
?get:string list ->
?order:order ->
?alpha:bool ->
?store:string ->
string ->
([> `Count of int | `Sorted of string list ], [> common_error ])
Async.Deferred.Result.t
Source
val ttl :
t ->
string ->
(Core.Time.Span.t,
[> `No_such_key of string | `Not_expiring of string | common_error ])
Async.Deferred.Result.t
Source
val restore :
t ->
key:string ->
?ttl:Core.Time.Span.t ->
?replace:bool ->
string ->
(unit, [> common_error ]) Async.Deferred.Result.t
Source
val with_connection :
?port:int ->
host:string ->
(t -> 'a Async.Deferred.t) ->
'a Async.Deferred.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>