Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
redis
RedisClient
Interface RedisClient
Hierarchy
Commands
RedisClient
Index
Properties
APPEND
AUTH
BGREWRITEAOF
BGSAVE
BLPOP
BRPOP
BRPOPLPUSH
CLIENT
CLUSTER
CONFIG
DBSIZE
DEBUG
DECR
DECRBY
DEL
DISCARD
DUMP
ECHO
EVAL
EVALSHA
EXEC
EXISTS
EXPIRE
EXPIREAT
FLUSHALL
FLUSHDB
GET
GETBIT
GETRANGE
GETSET
HDEL
HEXISTS
HGET
HGETALL
HINCRBY
HKEYS
HLEN
HMGET
HMSET
HSET
HSETNX
HVALS
INCR
INCRBY
INFO
KEYS
LASTSAVE
LINDEX
LINSERT
LLEN
LPOP
LPUSH
LPUSHX
LRANGE
LREM
LSET
LTRIM
MGET
MIGRATE
MONITOR
MOVE
MSET
MSETNX
MULTI
OBJECT
PERSIST
PING
PSUBSCRIBE
PUBLISH
PUNSUBSCRIBE
QUIT
RANDOMKEY
RENAME
RENAMENX
RESTORE
RPOP
RPOPLPUSH
RPUSH
RPUSHX
SADD
SAVE
SCARD
SDIFF
SDIFFSTORE
SELECT
SET
SETBIT
SETEX
SETNX
SETRANGE
SHUTDOWN
SINTER
SINTERSTORE
SISMEMBER
SLAVEOF
SMEMBERS
SMOVE
SORT
SPOP
SRANDMEMBER
SREM
STRLEN
SUBSCRIBE
SUBSTR
SUNION
SUNIONSTORE
SYNC
TTL
TYPE
UNSUBSCRIBE
UNWATCH
WATCH
ZADD
ZCARD
ZCOUNT
ZINCRBY
ZINTERSTORE
ZRANGE
ZRANGEBYSCORE
ZRANK
ZREM
ZREMRANGEBYRANK
ZREMRANGEBYSCORE
ZREVRANGE
ZREVRANGEBYSCORE
ZREVRANK
ZSCORE
ZUNIONSTORE
append
auth
bgrewriteaof
bgsave
blpop
brpop
brpoplpush
client
cluster
command_queue
config
connected
dbsize
debug
decr
decrby
del
discard
dump
echo
eval
evalsha
exec
exists
expire
expireat
flushall
flushdb
get
getbit
getrange
getset
hdel
hexists
hget
hgetall
hincrby
hkeys
hlen
hmget
hmset
host
hset
hsetnx
hvals
incr
incrby
info
keys
lastsave
lindex
linsert
llen
lpop
lpush
lpushx
lrange
lrem
lset
ltrim
mget
migrate
monitor
move
mset
msetnx
multi
object
offline_queue
persist
ping
port
psubscribe
publish
punsubscribe
quit
randomkey
rename
renamenx
reply_parser
restore
retry_backoff
retry_delay
rpop
rpoplpush
rpush
rpushx
sadd
save
scard
sdiff
sdiffstore
select
server_info
set
setbit
setex
setnx
setrange
shutdown
sinter
sinterstore
sismember
slaveof
smembers
smove
sort
spop
srandmember
srem
stream
strlen
subscribe
substr
sunion
sunionstore
sync
ttl
type
unsubscribe
unwatch
watch
zadd
zcard
zcount
zincrby
zinterstore
zrange
zrangebyscore
zrank
zrem
zremrangebyrank
zremrangebyscore
zrevrange
zrevrangebyscore
zrevrank
zscore
zunionstore
Methods
connection_gone
do_auth
end
flush_and_error
init_parser
initialize_retry_vars
on
on_connect
on_data
on_error
on_info_cmd
on_ready
once
pub_sub_command
ready_check
removeListener
return_error
return_reply
send_command
send_offline_queue
Properties
public
APPEND
:
Command
public
AUTH
(
password
?:
string
, callback
?:
Function
)
Parameters
password?:
string
optional
callback?:
Function
optional
public
BGREWRITEAOF
:
Command
public
BGSAVE
:
Command
public
BLPOP
:
Command
public
BRPOP
:
Command
public
BRPOPLPUSH
:
Command
public
CLIENT
:
Command
public
CLUSTER
:
Command
public
CONFIG
:
Command
public
DBSIZE
:
Command
public
DEBUG
:
Command
public
DECR
:
Command
public
DECRBY
:
Command
public
DEL
:
Command
public
DISCARD
:
Command
public
DUMP
:
Command
public
ECHO
:
Command
public
EVAL
:
Command
public
EVALSHA
:
Command
public
EXEC
:
Command
public
EXISTS
:
Command
public
EXPIRE
:
Command
public
EXPIREAT
:
Command
public
FLUSHALL
:
Command
public
FLUSHDB
:
Command
public
GET
:
Command
public
GETBIT
:
Command
public
GETRANGE
:
Command
public
GETSET
:
Command
public
HDEL
:
Command
public
HEXISTS
:
Command
public
HGET
:
Command
public
HGETALL
:
Command
public
HINCRBY
:
Command
public
HKEYS
:
Command
public
HLEN
:
Command
public
HMGET
:
Command
public
HMSET
:
Command
public
HSET
:
Command
public
HSETNX
:
Command
public
HVALS
:
Command
public
INCR
:
Command
public
INCRBY
:
Command
public
INFO
:
Command
public
KEYS
:
Command
public
LASTSAVE
:
Command
public
LINDEX
:
Command
public
LINSERT
:
Command
public
LLEN
:
Command
public
LPOP
:
Command
public
LPUSH
:
Command
public
LPUSHX
:
Command
public
LRANGE
:
Command
public
LREM
:
Command
public
LSET
:
Command
public
LTRIM
:
Command
public
MGET
:
Command
public
MIGRATE
:
Command
public
MONITOR
:
Command
public
MOVE
:
Command
public
MSET
:
Command
public
MSETNX
:
Command
public
MULTI
(
)
:
Multi
Returns
Multi
public
OBJECT
:
Command
public
PERSIST
:
Command
public
PING
:
Command
public
PSUBSCRIBE
:
Command
public
PUBLISH
:
Command
public
PUNSUBSCRIBE
:
Command
public
QUIT
:
Command
public
RANDOMKEY
:
Command
public
RENAME
:
Command
public
RENAMENX
:
Command
public
RESTORE
:
Command
public
RPOP
:
Command
public
RPOPLPUSH
:
Command
public
RPUSH
:
Command
public
RPUSHX
:
Command
public
SADD
:
Command
public
SAVE
:
Command
public
SCARD
:
Command
public
SDIFF
:
Command
public
SDIFFSTORE
:
Command
public
SELECT
:
Command
public
SET
:
Command
public
SETBIT
:
Command
public
SETEX
:
Command
public
SETNX
:
Command
public
SETRANGE
:
Command
public
SHUTDOWN
:
Command
public
SINTER
:
Command
public
SINTERSTORE
:
Command
public
SISMEMBER
:
Command
public
SLAVEOF
:
Command
public
SMEMBERS
:
Command
public
SMOVE
:
Command
public
SORT
:
Command
public
SPOP
:
Command
public
SRANDMEMBER
:
Command
public
SREM
:
Command
public
STRLEN
:
Command
public
SUBSCRIBE
:
Command
public
SUBSTR
:
Command
public
SUNION
:
Command
public
SUNIONSTORE
:
Command
public
SYNC
:
Command
public
TTL
:
Command
public
TYPE
:
Command
public
UNSUBSCRIBE
:
Command
public
UNWATCH
:
Command
public
WATCH
:
Command
public
ZADD
:
Command
public
ZCARD
:
Command
public
ZCOUNT
:
Command
public
ZINCRBY
:
Command
public
ZINTERSTORE
:
Command
public
ZRANGE
:
Command
public
ZRANGEBYSCORE
:
Command
public
ZRANK
:
Command
public
ZREM
:
Command
public
ZREMRANGEBYRANK
:
Command
public
ZREMRANGEBYSCORE
:
Command
public
ZREVRANGE
:
Command
public
ZREVRANGEBYSCORE
:
Command
public
ZREVRANK
:
Command
public
ZSCORE
:
Command
public
ZUNIONSTORE
:
Command
public
append
:
Command
public
auth
(
password
?:
string
, callback
?:
Function
)
Parameters
password?:
string
optional
callback?:
Function
optional
public
bgrewriteaof
:
Command
public
bgsave
:
Command
public
blpop
:
Command
public
brpop
:
Command
public
brpoplpush
:
Command
public
client
:
Command
public
cluster
:
Command
public
command_queue
:
Array<any>
public
config
:
Command
public
connected
:
boolean
public
dbsize
:
Command
public
debug
:
Command
public
decr
:
Command
public
decrby
:
Command
public
del
:
Command
public
discard
:
Command
public
dump
:
Command
public
echo
:
Command
public
eval
:
Command
public
evalsha
:
Command
public
exec
:
Command
public
exists
:
Command
public
expire
:
Command
public
expireat
:
Command
public
flushall
:
Command
public
flushdb
:
Command
public
get
:
Command
public
getbit
:
Command
public
getrange
:
Command
public
getset
:
Command
public
hdel
:
Command
public
hexists
:
Command
public
hget
:
Command
public
hgetall
:
Command
public
hincrby
:
Command
public
hkeys
:
Command
public
hlen
:
Command
public
hmget
:
Command
public
hmset
:
Command
public
host
:
string
public
hset
:
Command
public
hsetnx
:
Command
public
hvals
:
Command
public
incr
:
Command
public
incrby
:
Command
public
info
:
Command
public
keys
:
Command
public
lastsave
:
Command
public
lindex
:
Command
public
linsert
:
Command
public
llen
:
Command
public
lpop
:
Command
public
lpush
:
Command
public
lpushx
:
Command
public
lrange
:
Command
public
lrem
:
Command
public
lset
:
Command
public
ltrim
:
Command
public
mget
:
Command
public
migrate
:
Command
public
monitor
:
Command
public
move
:
Command
public
mset
:
Command
public
msetnx
:
Command
public
multi
(
commands
?:
Array<any>
)
:
Multi
Parameters
commands?:
Array<any>
optional
Returns
Multi
public
object
:
Command
public
offline_queue
:
Array<any>
public
persist
:
Command
public
ping
:
Command
public
port
:
number
public
psubscribe
:
Command
public
publish
:
Command
public
punsubscribe
:
Command
public
quit
:
Command
public
randomkey
:
Command
public
rename
:
Command
public
renamenx
:
Command
public
reply_parser
:
any
public
restore
:
Command
public
retry_backoff
:
number
public
retry_delay
:
number
public
rpop
:
Command
public
rpoplpush
:
Command
public
rpush
:
Command
public
rpushx
:
Command
public
sadd
:
Command
public
save
:
Command
public
scard
:
Command
public
sdiff
:
Command
public
sdiffstore
:
Command
public
select
:
Command
public
server_info
:
any
public
set
:
Command
public
setbit
:
Command
public
setex
:
Command
public
setnx
:
Command
public
setrange
:
Command
public
shutdown
:
Command
public
sinter
:
Command
public
sinterstore
:
Command
public
sismember
:
Command
public
slaveof
:
Command
public
smembers
:
Command
public
smove
:
Command
public
sort
:
Command
public
spop
:
Command
public
srandmember
:
Command
public
srem
:
Command
public
stream
:
any
public
strlen
:
Command
public
subscribe
:
Command
public
substr
:
Command
public
sunion
:
Command
public
sunionstore
:
Command
public
sync
:
Command
public
ttl
:
Command
public
type
:
Command
public
unsubscribe
:
Command
public
unwatch
:
Command
public
watch
:
Command
public
zadd
:
Command
public
zcard
:
Command
public
zcount
:
Command
public
zincrby
:
Command
public
zinterstore
:
Command
public
zrange
:
Command
public
zrangebyscore
:
Command
public
zrank
:
Command
public
zrem
:
Command
public
zremrangebyrank
:
Command
public
zremrangebyscore
:
Command
public
zrevrange
:
Command
public
zrevrangebyscore
:
Command
public
zrevrank
:
Command
public
zscore
:
Command
public
zunionstore
:
Command
Methods
public
connection_gone
(
why
:
string
)
Parameters
why:
string
public
do_auth
(
)
public
end
(
)
:
RedisClient
Returns
RedisClient
public
flush_and_error
(
message
:
string
)
Parameters
message:
string
public
init_parser
(
)
public
initialize_retry_vars
(
)
public
on
(
eventName
:
string
, callback
:
Function
)
Parameters
eventName:
string
callback:
Function
public
on_connect
(
)
public
on_data
(
data
:
any
)
Parameters
data:
any
public
on_error
(
message
:
string
)
Parameters
message:
string
public
on_info_cmd
(
err
:
any
, res
:
any
)
Parameters
err:
any
res:
any
public
on_ready
(
)
public
once
(
eventName
:
string
, callback
:
Function
)
Parameters
eventName:
string
callback:
Function
public
pub_sub_command
(
command
:
{ command: string; args: any[]; }
)
:
any
Parameters
command:
{ command: string; args: any[]; }
Returns
any
public
ready_check
(
)
public
removeListener
(
eventName
:
string
, callback
:
Function
)
Parameters
eventName:
string
callback:
Function
public
return_error
(
err
:
any
)
Parameters
err:
any
public
return_reply
(
reply
:
any
)
Parameters
reply:
any
public
send_command
(
command
:
string
, args
:
Array<any>
, callback
?:
Function
)
:
any
Parameters
command:
string
args:
Array<any>
callback?:
Function
optional
Returns
any
public
send_command
(
command
:
string
, args
?:
Array<any>
)
:
any
Parameters
command:
string
args?:
Array<any>
optional
Returns
any
public
send_offline_queue
(
)
Globals
redis
debug_mode
Command
Commands
Multi
RedisClient
APPEND
AUTH
BGREWRITEAOF
BGSAVE
BLPOP
BRPOP
BRPOPLPUSH
CLIENT
CLUSTER
CONFIG
DBSIZE
DEBUG
DECR
DECRBY
DEL
DISCARD
DUMP
ECHO
EVAL
EVALSHA
EXEC
EXISTS
EXPIRE
EXPIREAT
FLUSHALL
FLUSHDB
GET
GETBIT
GETRANGE
GETSET
HDEL
HEXISTS
HGET
HGETALL
HINCRBY
HKEYS
HLEN
HMGET
HMSET
HSET
HSETNX
HVALS
INCR
INCRBY
INFO
KEYS
LASTSAVE
LINDEX
LINSERT
LLEN
LPOP
LPUSH
LPUSHX
LRANGE
LREM
LSET
LTRIM
MGET
MIGRATE
MONITOR
MOVE
MSET
MSETNX
MULTI
OBJECT
PERSIST
PING
PSUBSCRIBE
PUBLISH
PUNSUBSCRIBE
QUIT
RANDOMKEY
RENAME
RENAMENX
RESTORE
RPOP
RPOPLPUSH
RPUSH
RPUSHX
SADD
SAVE
SCARD
SDIFF
SDIFFSTORE
SELECT
SET
SETBIT
SETEX
SETNX
SETRANGE
SHUTDOWN
SINTER
SINTERSTORE
SISMEMBER
SLAVEOF
SMEMBERS
SMOVE
SORT
SPOP
SRANDMEMBER
SREM
STRLEN
SUBSCRIBE
SUBSTR
SUNION
SUNIONSTORE
SYNC
TTL
TYPE
UNSUBSCRIBE
UNWATCH
WATCH
ZADD
ZCARD
ZCOUNT
ZINCRBY
ZINTERSTORE
ZRANGE
ZRANGEBYSCORE
ZRANK
ZREM
ZREMRANGEBYRANK
ZREMRANGEBYSCORE
ZREVRANGE
ZREVRANGEBYSCORE
ZREVRANK
ZSCORE
ZUNIONSTORE
append
auth
bgrewriteaof
bgsave
blpop
brpop
brpoplpush
client
cluster
command_queue
config
connected
dbsize
debug
decr
decrby
del
discard
dump
echo
eval
evalsha
exec
exists
expire
expireat
flushall
flushdb
get
getbit
getrange
getset
hdel
hexists
hget
hgetall
hincrby
hkeys
hlen
hmget
hmset
host
hset
hsetnx
hvals
incr
incrby
info
keys
lastsave
lindex
linsert
llen
lpop
lpush
lpushx
lrange
lrem
lset
ltrim
mget
migrate
monitor
move
mset
msetnx
multi
object
offline_queue
persist
ping
port
psubscribe
publish
punsubscribe
quit
randomkey
rename
renamenx
reply_parser
restore
retry_backoff
retry_delay
rpop
rpoplpush
rpush
rpushx
sadd
save
scard
sdiff
sdiffstore
select
server_info
set
setbit
setex
setnx
setrange
shutdown
sinter
sinterstore
sismember
slaveof
smembers
smove
sort
spop
srandmember
srem
stream
strlen
subscribe
substr
sunion
sunionstore
sync
ttl
type
unsubscribe
unwatch
watch
zadd
zcard
zcount
zincrby
zinterstore
zrange
zrangebyscore
zrank
zrem
zremrangebyrank
zremrangebyscore
zrevrange
zrevrangebyscore
zrevrank
zscore
zunionstore
connection_gone
do_auth
end
flush_and_error
init_parser
initialize_retry_vars
on
on_connect
on_data
on_error
on_info_cmd
on_ready
once
pub_sub_command
ready_check
removeListener
return_error
return_reply
send_command
send_offline_queue
RedisOptions
createClient
print