Properties
addListener
addListener: function
Type declaration
-
- (event: string | symbol, listener: Function): this
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
append
append: function
Type declaration
-
- (key: string, value: any): Promise<number>
-
Parameters
Returns Promise<number>
appendBuffer
appendBuffer: function
Type declaration
-
- (key: string, value: any): Promise<number>
-
Parameters
Returns Promise<number>
auth
auth: function
Type declaration
-
- (password: string): Promise<string>
-
Parameters
Returns Promise<string>
authBuffer
authBuffer: function
Type declaration
-
- (password: string): Promise<string>
-
Parameters
Returns Promise<string>
bgrewriteaof
bgrewriteaof: function
bgrewriteaofBuffer
bgrewriteaofBuffer: function
bgsaveBuffer
bgsaveBuffer: function
bitcount
bitcount: function
Type declaration
-
- (key: string, start?: number, end?: number): Promise<number>
-
Parameters
-
key: string
-
Optional start: number
-
Optional end: number
Returns Promise<number>
bitcountBuffer
bitcountBuffer: function
Type declaration
-
- (key: string, start?: number, end?: number): Promise<number>
-
Parameters
-
key: string
-
Optional start: number
-
Optional end: number
Returns Promise<number>
blpopBuffer
blpopBuffer: function
brpopBuffer
brpopBuffer: function
brpoplpush
brpoplpush: function
Type declaration
-
- (source: string, destination: string, timeout: number): Promise<any>
-
Parameters
-
source: string
-
destination: string
-
timeout: number
Returns Promise<any>
brpoplpushBuffer
brpoplpushBuffer: function
Type declaration
-
- (source: string, destination: string, timeout: number): Promise<any>
-
Parameters
-
source: string
-
destination: string
-
timeout: number
Returns Promise<any>
clientBuffer
clientBuffer: function
cluster
cluster: function
clusterBuffer
clusterBuffer: function
configBuffer
configBuffer: function
connect
connect: function
Private dataLoader
dataLoader: DataLoader<__type, __type>
dbsizeBuffer
dbsizeBuffer: function
debugBuffer
debugBuffer: function
decr
decr: function
Type declaration
-
- (key: string): Promise<number>
-
Parameters
Returns Promise<number>
decrBuffer
decrBuffer: function
Type declaration
-
- (key: string): Promise<number>
-
Parameters
Returns Promise<number>
decrby
decrby: function
Type declaration
-
- (key: string, decrement: number): Promise<number>
-
Parameters
-
key: string
-
decrement: number
Returns Promise<number>
decrbyBuffer
decrbyBuffer: function
Type declaration
-
- (key: string, decrement: number): Promise<number>
-
Parameters
-
key: string
-
decrement: number
Returns Promise<number>
delBuffer
delBuffer: function
discard
discard: function
discardBuffer
discardBuffer: function
disconnect
disconnect: function
dump
dump: function
Type declaration
-
- (key: string): Promise<string>
-
Parameters
Returns Promise<string>
dumpBuffer
dumpBuffer: function
Type declaration
-
- (key: string): Promise<string>
-
Parameters
Returns Promise<string>
echo
echo: function
Type declaration
-
- (message: string): Promise<string>
-
Parameters
Returns Promise<string>
echoBuffer
echoBuffer: function
Type declaration
-
- (message: string): Promise<string>
-
Parameters
Returns Promise<string>
emit
emit: function
Type declaration
-
- (event: string | symbol, ...args: any[]): boolean
-
Parameters
-
event: string | symbol
-
Rest ...args: any[]
Returns boolean
evalBuffer
evalBuffer: function
evalsha
evalsha: function
evalshaBuffer
evalshaBuffer: function
eventNames
eventNames: function
Type declaration
-
-
Returns (string | symbol)[]
execBuffer
execBuffer: function
existsBuffer
existsBuffer: function
expire
expire: function
Type declaration
-
- (key: string, seconds: number): Promise<0 | 1>
-
Parameters
-
key: string
-
seconds: number
Returns Promise<0 | 1>
expireBuffer
expireBuffer: function
Type declaration
-
- (key: string, seconds: number): Promise<0 | 1>
-
Parameters
-
key: string
-
seconds: number
Returns Promise<0 | 1>
expireat
expireat: function
Type declaration
-
- (key: string, timestamp: number): Promise<0 | 1>
-
Parameters
-
key: string
-
timestamp: number
Returns Promise<0 | 1>
expireatBuffer
expireatBuffer: function
Type declaration
-
- (key: string, timestamp: number): Promise<0 | 1>
-
Parameters
-
key: string
-
timestamp: number
Returns Promise<0 | 1>
flushall
flushall: function
flushallBuffer
flushallBuffer: function
flushdb
flushdb: function
flushdbBuffer
flushdbBuffer: function
get
get: function
Type declaration
-
- (key: string): Promise<string>
-
Parameters
Returns Promise<string>
getBuffer
getBuffer: function
Type declaration
-
- (key: string): Promise<string>
-
Parameters
Returns Promise<string>
getMaxListeners
getMaxListeners: function
getbit
getbit: function
Type declaration
-
- (key: string, offset: number): Promise<number>
-
Parameters
-
key: string
-
offset: number
Returns Promise<number>
getbitBuffer
getbitBuffer: function
Type declaration
-
- (key: string, offset: number): Promise<number>
-
Parameters
-
key: string
-
offset: number
Returns Promise<number>
getrange
getrange: function
Type declaration
-
- (key: string, start: number, end: number): Promise<string>
-
Parameters
-
key: string
-
start: number
-
end: number
Returns Promise<string>
getrangeBuffer
getrangeBuffer: function
Type declaration
-
- (key: string, start: number, end: number): Promise<string>
-
Parameters
-
key: string
-
start: number
-
end: number
Returns Promise<string>
getset
getset: function
Type declaration
-
- (key: string, value: any): Promise<string>
-
Parameters
Returns Promise<string>
getsetBuffer
getsetBuffer: function
Type declaration
-
- (key: string, value: any): Promise<string>
-
Parameters
Returns Promise<string>
hdel
hdel: function
Type declaration
-
- (key: string, ...fields: string[]): any
-
Parameters
-
key: string
-
Rest ...fields: string[]
Returns any
hdelBuffer
hdelBuffer: function
Type declaration
-
- (key: string, ...fields: string[]): any
-
Parameters
-
key: string
-
Rest ...fields: string[]
Returns any
hexists
hexists: function
Type declaration
-
- (key: string, field: string): Promise<0 | 1>
-
Parameters
-
key: string
-
field: string
Returns Promise<0 | 1>
hexistsBuffer
hexistsBuffer: function
Type declaration
-
- (key: string, field: string): Promise<0 | 1>
-
Parameters
-
key: string
-
field: string
Returns Promise<0 | 1>
hget
hget: function
Type declaration
-
- (key: string, field: string): Promise<string>
-
Parameters
-
key: string
-
field: string
Returns Promise<string>
hgetBuffer
hgetBuffer: function
Type declaration
-
- (key: string, field: string): Promise<string>
-
Parameters
-
key: string
-
field: string
Returns Promise<string>
hgetall
hgetall: function
Type declaration
-
- (key: string): Promise<any>
-
Parameters
Returns Promise<any>
hgetallBuffer
hgetallBuffer: function
Type declaration
-
- (key: string): Promise<any>
-
Parameters
Returns Promise<any>
hincrby
hincrby: function
Type declaration
-
- (key: string, field: string, increment: number): Promise<number>
-
Parameters
-
key: string
-
field: string
-
increment: number
Returns Promise<number>
hincrbyBuffer
hincrbyBuffer: function
Type declaration
-
- (key: string, field: string, increment: number): Promise<number>
-
Parameters
-
key: string
-
field: string
-
increment: number
Returns Promise<number>
hincrbyfloat
hincrbyfloat: function
Type declaration
-
- (key: string, field: string, increment: number): Promise<number>
-
Parameters
-
key: string
-
field: string
-
increment: number
Returns Promise<number>
hincrbyfloatBuffer
hincrbyfloatBuffer: function
Type declaration
-
- (key: string, field: string, increment: number): Promise<number>
-
Parameters
-
key: string
-
field: string
-
increment: number
Returns Promise<number>
hkeys
hkeys: function
Type declaration
-
- (key: string): Promise<any>
-
Parameters
Returns Promise<any>
hkeysBuffer
hkeysBuffer: function
Type declaration
-
- (key: string): Promise<any>
-
Parameters
Returns Promise<any>
hlen
hlen: function
Type declaration
-
- (key: string): Promise<number>
-
Parameters
Returns Promise<number>
hlenBuffer
hlenBuffer: function
Type declaration
-
- (key: string): Promise<number>
-
Parameters
Returns Promise<number>
hmget
hmget: function
Type declaration
-
- (key: string, ...fields: string[]): any
-
Parameters
-
key: string
-
Rest ...fields: string[]
Returns any
hmgetBuffer
hmgetBuffer: function
Type declaration
-
- (key: string, ...fields: string[]): any
-
Parameters
-
key: string
-
Rest ...fields: string[]
Returns any
hmset
hmset: function
Type declaration
-
- (key: string, fieldOrObj: string | any, value?: any, ...args: string[]): Promise<0 | 1>
-
Parameters
-
key: string
-
fieldOrObj: string | any
-
Optional value: any
-
Rest ...args: string[]
Returns Promise<0 | 1>
hmsetBuffer
hmsetBuffer: function
Type declaration
-
- (key: string, fieldOrObj: string | any, value?: any, ...args: string[]): Promise<0 | 1>
-
Parameters
-
key: string
-
fieldOrObj: string | any
-
Optional value: any
-
Rest ...args: string[]
Returns Promise<0 | 1>
hscan
hscan: function
Type declaration
-
- (key: string, cursor: number, ...args: any[]): any
-
Parameters
-
key: string
-
cursor: number
-
Rest ...args: any[]
Returns any
hscanBuffer
hscanBuffer: function
Type declaration
-
- (key: string, cursor: number, ...args: any[]): any
-
Parameters
-
key: string
-
cursor: number
-
Rest ...args: any[]
Returns any
hscanStream
hscanStream: function
hscanStreamBuffer
hscanStreamBuffer: function
hset
hset: function
Type declaration
-
- (key: string, field: string, value: any): Promise<0 | 1>
-
Parameters
-
key: string
-
field: string
-
value: any
Returns Promise<0 | 1>
hsetBuffer
hsetBuffer: function
Type declaration
-
- (key: string, field: string, value: any): Promise<0 | 1>
-
Parameters
-
key: string
-
field: string
-
value: any
Returns Promise<0 | 1>
hsetnx
hsetnx: function
Type declaration
-
- (key: string, field: string, value: any): Promise<0 | 1>
-
Parameters
-
key: string
-
field: string
-
value: any
Returns Promise<0 | 1>
hsetnxBuffer
hsetnxBuffer: function
Type declaration
-
- (key: string, field: string, value: any): Promise<0 | 1>
-
Parameters
-
key: string
-
field: string
-
value: any
Returns Promise<0 | 1>
hvals
hvals: function
Type declaration
-
- (key: string): Promise<any>
-
Parameters
Returns Promise<any>
hvalsBuffer
hvalsBuffer: function
Type declaration
-
- (key: string): Promise<any>
-
Parameters
Returns Promise<any>
incr
incr: function
Type declaration
-
- (key: string): Promise<number>
-
Parameters
Returns Promise<number>
incrBuffer
incrBuffer: function
Type declaration
-
- (key: string): Promise<number>
-
Parameters
Returns Promise<number>
incrby
incrby: function
Type declaration
-
- (key: string, increment: number): Promise<number>
-
Parameters
-
key: string
-
increment: number
Returns Promise<number>
incrbyBuffer
incrbyBuffer: function
Type declaration
-
- (key: string, increment: number): Promise<number>
-
Parameters
-
key: string
-
increment: number
Returns Promise<number>
incrbyfloat
incrbyfloat: function
Type declaration
-
- (key: string, increment: number): Promise<number>
-
Parameters
-
key: string
-
increment: number
Returns Promise<number>
incrbyfloatBuffer
incrbyfloatBuffer: function
Type declaration
-
- (key: string, increment: number): Promise<number>
-
Parameters
-
key: string
-
increment: number
Returns Promise<number>
info
info: function
Type declaration
-
- (section?: string): Promise<string>
-
Parameters
Returns Promise<string>
infoBuffer
infoBuffer: function
Type declaration
-
- (section?: string): Promise<string>
-
Parameters
Returns Promise<string>
keys
keys: function
Type declaration
-
- (pattern: string): Promise<string[]>
-
Parameters
Returns Promise<string[]>
keysBuffer
keysBuffer: function
Type declaration
-
- (pattern: string): Promise<string[]>
-
Parameters
Returns Promise<string[]>
lastsave
lastsave: function
lastsaveBuffer
lastsaveBuffer: function
lindex
lindex: function
Type declaration
-
- (key: string, index: number): Promise<string>
-
Parameters
-
key: string
-
index: number
Returns Promise<string>
lindexBuffer
lindexBuffer: function
Type declaration
-
- (key: string, index: number): Promise<string>
-
Parameters
-
key: string
-
index: number
Returns Promise<string>
linsert
linsert: function
Type declaration
-
- (key: string, direction: "BEFORE" | "AFTER", pivot: string, value: any): Promise<number>
-
Parameters
-
key: string
-
direction: "BEFORE" | "AFTER"
-
pivot: string
-
value: any
Returns Promise<number>
linsertBuffer
linsertBuffer: function
Type declaration
-
- (key: string, direction: "BEFORE" | "AFTER", pivot: string, value: any): Promise<number>
-
Parameters
-
key: string
-
direction: "BEFORE" | "AFTER"
-
pivot: string
-
value: any
Returns Promise<number>
listenerCount
listenerCount: function
Type declaration
-
- (type: string | symbol): number
-
Parameters
Returns number
listeners
listeners: function
Type declaration
-
- (event: string | symbol): Function[]
-
Parameters
Returns Function[]
llen
llen: function
Type declaration
-
- (key: string): Promise<number>
-
Parameters
Returns Promise<number>
llenBuffer
llenBuffer: function
Type declaration
-
- (key: string): Promise<number>
-
Parameters
Returns Promise<number>
lpop
lpop: function
Type declaration
-
- (key: string): Promise<string>
-
Parameters
Returns Promise<string>
lpopBuffer
lpopBuffer: function
Type declaration
-
- (key: string): Promise<string>
-
Parameters
Returns Promise<string>
lpush
lpush: function
Type declaration
-
- (key: string, ...values: any[]): any
-
Parameters
-
key: string
-
Rest ...values: any[]
Returns any
lpushBuffer
lpushBuffer: function
Type declaration
-
- (key: string, ...values: any[]): any
-
Parameters
-
key: string
-
Rest ...values: any[]
Returns any
lpushx
lpushx: function
Type declaration
-
- (key: string, value: any): Promise<number>
-
Parameters
Returns Promise<number>
lpushxBuffer
lpushxBuffer: function
Type declaration
-
- (key: string, value: any): Promise<number>
-
Parameters
Returns Promise<number>
lrange
lrange: function
Type declaration
-
- (key: string, start: number, stop: number): Promise<any>
-
Parameters
-
key: string
-
start: number
-
stop: number
Returns Promise<any>
lrangeBuffer
lrangeBuffer: function
Type declaration
-
- (key: string, start: number, stop: number): Promise<any>
-
Parameters
-
key: string
-
start: number
-
stop: number
Returns Promise<any>
lrem
lrem: function
Type declaration
-
- (key: string, count: number, value: any): Promise<number>
-
Parameters
-
key: string
-
count: number
-
value: any
Returns Promise<number>
lremBuffer
lremBuffer: function
Type declaration
-
- (key: string, count: number, value: any): Promise<number>
-
Parameters
-
key: string
-
count: number
-
value: any
Returns Promise<number>
lset
lset: function
Type declaration
-
- (key: string, index: number, value: any): Promise<any>
-
Parameters
-
key: string
-
index: number
-
value: any
Returns Promise<any>
lsetBuffer
lsetBuffer: function
Type declaration
-
- (key: string, index: number, value: any): Promise<any>
-
Parameters
-
key: string
-
index: number
-
value: any
Returns Promise<any>
ltrim
ltrim: function
Type declaration
-
- (key: string, start: number, stop: number): Promise<any>
-
Parameters
-
key: string
-
start: number
-
stop: number
Returns Promise<any>
ltrimBuffer
ltrimBuffer: function
Type declaration
-
- (key: string, start: number, stop: number): Promise<any>
-
Parameters
-
key: string
-
start: number
-
stop: number
Returns Promise<any>
mgetBuffer
mgetBuffer: function
migrate
migrate: function
migrateBuffer
migrateBuffer: function
move
move: function
Type declaration
-
- (key: string, db: string): Promise<0 | 1>
-
Parameters
Returns Promise<0 | 1>
moveBuffer
moveBuffer: function
Type declaration
-
- (key: string, db: string): Promise<0 | 1>
-
Parameters
Returns Promise<0 | 1>
mset
mset: function
Type declaration
-
- (key: string, value: any, ...args: string[]): any
-
Parameters
-
key: string
-
value: any
-
Rest ...args: string[]
Returns any
msetBuffer
msetBuffer: function
Type declaration
-
- (key: string, value: any, ...args: string[]): any
-
Parameters
-
key: string
-
value: any
-
Rest ...args: string[]
Returns any
msetnx
msetnx: function
Type declaration
-
- (key: string, value: any, ...args: string[]): any
-
Parameters
-
key: string
-
value: any
-
Rest ...args: string[]
Returns any
msetnxBuffer
msetnxBuffer: function
Type declaration
-
- (key: string, value: any, ...args: string[]): any
-
Parameters
-
key: string
-
value: any
-
Rest ...args: string[]
Returns any
object
object: function
Type declaration
-
- (subcommand: string, ...args: any[]): any
-
Parameters
-
subcommand: string
-
Rest ...args: any[]
Returns any
objectBuffer
objectBuffer: function
Type declaration
-
- (subcommand: string, ...args: any[]): any
-
Parameters
-
subcommand: string
-
Rest ...args: any[]
Returns any
on
on: function
Type declaration
-
- (event: string | symbol, listener: Function): this
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
once
once: function
Type declaration
-
- (event: string | symbol, listener: Function): this
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
persist
persist: function
Type declaration
-
- (key: string): Promise<0 | 1>
-
Parameters
Returns Promise<0 | 1>
persistBuffer
persistBuffer: function
Type declaration
-
- (key: string): Promise<0 | 1>
-
Parameters
Returns Promise<0 | 1>
pexpire
pexpire: function
Type declaration
-
- (key: string, milliseconds: number): Promise<0 | 1>
-
Parameters
-
key: string
-
milliseconds: number
Returns Promise<0 | 1>
pexpireBuffer
pexpireBuffer: function
Type declaration
-
- (key: string, milliseconds: number): Promise<0 | 1>
-
Parameters
-
key: string
-
milliseconds: number
Returns Promise<0 | 1>
pexpireat
pexpireat: function
Type declaration
-
- (key: string, millisecondsTimestamp: number): Promise<0 | 1>
-
Parameters
-
key: string
-
millisecondsTimestamp: number
Returns Promise<0 | 1>
pexpireatBuffer
pexpireatBuffer: function
Type declaration
-
- (key: string, millisecondsTimestamp: number): Promise<0 | 1>
-
Parameters
-
key: string
-
millisecondsTimestamp: number
Returns Promise<0 | 1>
pfadd
pfadd: function
Type declaration
-
- (key: string, ...elements: string[]): any
-
Parameters
-
key: string
-
Rest ...elements: string[]
Returns any
pfaddBuffer
pfaddBuffer: function
Type declaration
-
- (key: string, ...elements: string[]): any
-
Parameters
-
key: string
-
Rest ...elements: string[]
Returns any
pfcount
pfcount: function
pfcountBuffer
pfcountBuffer: function
pfmerge
pfmerge: function
Type declaration
-
- (destkey: string, ...sourcekeys: string[]): any
-
Parameters
-
destkey: string
-
Rest ...sourcekeys: string[]
Returns any
pfmergeBuffer
pfmergeBuffer: function
Type declaration
-
- (destkey: string, ...sourcekeys: string[]): any
-
Parameters
-
destkey: string
-
Rest ...sourcekeys: string[]
Returns any
ping
ping: function
Type declaration
-
- (message?: string): Promise<string>
-
Parameters
Returns Promise<string>
pingBuffer
pingBuffer: function
Type declaration
-
- (message?: string): Promise<string>
-
Parameters
Returns Promise<string>
prependListener
prependListener: function
Type declaration
-
- (event: string | symbol, listener: Function): this
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
prependOnceListener
prependOnceListener: function
Type declaration
-
- (event: string | symbol, listener: Function): this
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
psetex
psetex: function
Type declaration
-
- (key: string, milliseconds: number, value: any): Promise<any>
-
Parameters
-
key: string
-
milliseconds: number
-
value: any
Returns Promise<any>
psetexBuffer
psetexBuffer: function
Type declaration
-
- (key: string, milliseconds: number, value: any): Promise<any>
-
Parameters
-
key: string
-
milliseconds: number
-
value: any
Returns Promise<any>
psubscribe
psubscribe: function
Type declaration
-
- (...patterns: string[]): any
-
Parameters
-
Rest ...patterns: string[]
Returns any
psubscribeBuffer
psubscribeBuffer: function
Type declaration
-
- (...patterns: string[]): any
-
Parameters
-
Rest ...patterns: string[]
Returns any
publish
publish: function
Type declaration
-
- (channel: string, message: string): Promise<number>
-
Parameters
-
channel: string
-
message: string
Returns Promise<number>
publishBuffer
publishBuffer: function
Type declaration
-
- (channel: string, message: string): Promise<number>
-
Parameters
-
channel: string
-
message: string
Returns Promise<number>
punsubscribe
punsubscribe: function
Type declaration
-
- (...patterns: string[]): any
-
Parameters
-
Rest ...patterns: string[]
Returns any
punsubscribeBuffer
punsubscribeBuffer: function
Type declaration
-
- (...patterns: string[]): any
-
Parameters
-
Rest ...patterns: string[]
Returns any
quitBuffer
quitBuffer: function
randomkey
randomkey: function
randomkeyBuffer
randomkeyBuffer: function
removeAllListeners
removeAllListeners: function
Type declaration
-
- (event?: string | symbol): this
-
Parameters
-
Optional event: string | symbol
Returns this
removeListener
removeListener: function
Type declaration
-
- (event: string | symbol, listener: Function): this
-
Parameters
-
event: string | symbol
-
listener: Function
Returns this
rename
rename: function
Type declaration
-
- (key: string, newkey: string): Promise<string>
-
Parameters
-
key: string
-
newkey: string
Returns Promise<string>
renameBuffer
renameBuffer: function
Type declaration
-
- (key: string, newkey: string): Promise<string>
-
Parameters
-
key: string
-
newkey: string
Returns Promise<string>
renamenx
renamenx: function
Type declaration
-
- (key: string, newkey: string): Promise<0 | 1>
-
Parameters
-
key: string
-
newkey: string
Returns Promise<0 | 1>
renamenxBuffer
renamenxBuffer: function
Type declaration
-
- (key: string, newkey: string): Promise<0 | 1>
-
Parameters
-
key: string
-
newkey: string
Returns Promise<0 | 1>
restore
restore: function
restoreBuffer
restoreBuffer: function
rpop
rpop: function
Type declaration
-
- (key: string): Promise<string>
-
Parameters
Returns Promise<string>
rpopBuffer
rpopBuffer: function
Type declaration
-
- (key: string): Promise<string>
-
Parameters
Returns Promise<string>
rpoplpush
rpoplpush: function
Type declaration
-
- (source: string, destination: string): Promise<string>
-
Parameters
-
source: string
-
destination: string
Returns Promise<string>
rpoplpushBuffer
rpoplpushBuffer: function
Type declaration
-
- (source: string, destination: string): Promise<string>
-
Parameters
-
source: string
-
destination: string
Returns Promise<string>
rpush
rpush: function
Type declaration
-
- (key: string, ...values: any[]): any
-
Parameters
-
key: string
-
Rest ...values: any[]
Returns any
rpushBuffer
rpushBuffer: function
Type declaration
-
- (key: string, ...values: any[]): any
-
Parameters
-
key: string
-
Rest ...values: any[]
Returns any
rpushx
rpushx: function
Type declaration
-
- (key: string, value: any): Promise<number>
-
Parameters
Returns Promise<number>
rpushxBuffer
rpushxBuffer: function
Type declaration
-
- (key: string, value: any): Promise<number>
-
Parameters
Returns Promise<number>
sadd
sadd: function
Type declaration
-
- (key: string, ...members: any[]): any
-
Parameters
-
key: string
-
Rest ...members: any[]
Returns any
saddBuffer
saddBuffer: function
Type declaration
-
- (key: string, ...members: any[]): any
-
Parameters
-
key: string
-
Rest ...members: any[]
Returns any
saveBuffer
saveBuffer: function
scan
scan: function
Type declaration
-
- (cursor: number, ...args: any[]): any
-
Parameters
-
cursor: number
-
Rest ...args: any[]
Returns any
scanBuffer
scanBuffer: function
Type declaration
-
- (cursor: number, ...args: any[]): any
-
Parameters
-
cursor: number
-
Rest ...args: any[]
Returns any
scanStream
scanStream: function
scanStreamBuffer
scanStreamBuffer: function
scard
scard: function
Type declaration
-
- (key: string): Promise<number>
-
Parameters
Returns Promise<number>
scardBuffer
scardBuffer: function
Type declaration
-
- (key: string): Promise<number>
-
Parameters
Returns Promise<number>
scriptBuffer
scriptBuffer: function
sdiffBuffer
sdiffBuffer: function
sdiffstore
sdiffstore: function
Type declaration
-
- (destination: string, ...keys: string[]): any
-
Parameters
-
destination: string
-
Rest ...keys: string[]
Returns any
sdiffstoreBuffer
sdiffstoreBuffer: function
Type declaration
-
- (destination: string, ...keys: string[]): any
-
Parameters
-
destination: string
-
Rest ...keys: string[]
Returns any
select
select: function
Type declaration
-
- (index: number): Promise<string>
-
Parameters
Returns Promise<string>
selectBuffer
selectBuffer: function
Type declaration
-
- (index: number): Promise<string>
-
Parameters
Returns Promise<string>
set
set: function
Type declaration
-
- (key: string, value: any, ...args: any[]): any
-
Parameters
-
key: string
-
value: any
-
Rest ...args: any[]
Returns any
setBuffer
setBuffer: function
Type declaration
-
- (key: string, value: any, ...args: any[]): any
-
Parameters
-
key: string
-
value: any
-
Rest ...args: any[]
Returns any
setMaxListeners
setMaxListeners: function
setbit
setbit: function
Type declaration
-
- (key: string, offset: number, value: any): Promise<number>
-
Parameters
-
key: string
-
offset: number
-
value: any
Returns Promise<number>
setbitBuffer
setbitBuffer: function
Type declaration
-
- (key: string, offset: number, value: any): Promise<number>
-
Parameters
-
key: string
-
offset: number
-
value: any
Returns Promise<number>
setex
setex: function
Type declaration
-
- (key: string, seconds: number, value: any): Promise<any>
-
Parameters
-
key: string
-
seconds: number
-
value: any
Returns Promise<any>
setexBuffer
setexBuffer: function
Type declaration
-
- (key: string, seconds: number, value: any): Promise<any>
-
Parameters
-
key: string
-
seconds: number
-
value: any
Returns Promise<any>
setnx
setnx: function
Type declaration
-
- (key: string, value: any): Promise<any>
-
Parameters
Returns Promise<any>
setnxBuffer
setnxBuffer: function
Type declaration
-
- (key: string, value: any): Promise<any>
-
Parameters
Returns Promise<any>
setrange
setrange: function
Type declaration
-
- (key: string, offset: number, value: any): Promise<number>
-
Parameters
-
key: string
-
offset: number
-
value: any
Returns Promise<number>
setrangeBuffer
setrangeBuffer: function
Type declaration
-
- (key: string, offset: number, value: any): Promise<number>
-
Parameters
-
key: string
-
offset: number
-
value: any
Returns Promise<number>
shutdown
shutdown: function
Type declaration
-
- (save: "SAVE" | "NOSAVE"): Promise<any>
-
Parameters
Returns Promise<any>
shutdownBuffer
shutdownBuffer: function
Type declaration
-
- (save: "SAVE" | "NOSAVE"): Promise<any>
-
Parameters
Returns Promise<any>
sinterBuffer
sinterBuffer: function
sinterstore
sinterstore: function
Type declaration
-
- (destination: string, ...keys: string[]): any
-
Parameters
-
destination: string
-
Rest ...keys: string[]
Returns any
sinterstoreBuffer
sinterstoreBuffer: function
Type declaration
-
- (destination: string, ...keys: string[]): any
-
Parameters
-
destination: string
-
Rest ...keys: string[]
Returns any
sismember
sismember: function
Type declaration
-
- (key: string, member: string): Promise<1 | 0>
-
Parameters
-
key: string
-
member: string
Returns Promise<1 | 0>
sismemberBuffer
sismemberBuffer: function
Type declaration
-
- (key: string, member: string): Promise<1 | 0>
-
Parameters
-
key: string
-
member: string
Returns Promise<1 | 0>
slaveof
slaveof: function
Type declaration
-
- (host: string, port: number): Promise<string>
-
Parameters
-
host: string
-
port: number
Returns Promise<string>
slaveofBuffer
slaveofBuffer: function
Type declaration
-
- (host: string, port: number): Promise<string>
-
Parameters
-
host: string
-
port: number
Returns Promise<string>
smembers
smembers: function
Type declaration
-
- (key: string): Promise<any>
-
Parameters
Returns Promise<any>
smembersBuffer
smembersBuffer: function
Type declaration
-
- (key: string): Promise<any>
-
Parameters
Returns Promise<any>
smove
smove: function
Type declaration
-
- (source: string, destination: string, member: string): Promise<string>
-
Parameters
-
source: string
-
destination: string
-
member: string
Returns Promise<string>
smoveBuffer
smoveBuffer: function
Type declaration
-
- (source: string, destination: string, member: string): Promise<string>
-
Parameters
-
source: string
-
destination: string
-
member: string
Returns Promise<string>
sort
sort: function
Type declaration
-
- (key: string, ...args: string[]): any
-
Parameters
-
key: string
-
Rest ...args: string[]
Returns any
sortBuffer
sortBuffer: function
Type declaration
-
- (key: string, ...args: string[]): any
-
Parameters
-
key: string
-
Rest ...args: string[]
Returns any
spop
spop: function
Type declaration
-
- (key: string, count?: number): Promise<any>
-
Parameters
-
key: string
-
Optional count: number
Returns Promise<any>
spopBuffer
spopBuffer: function
Type declaration
-
- (key: string, count?: number): Promise<any>
-
Parameters
-
key: string
-
Optional count: number
Returns Promise<any>
srandmember
srandmember: function
Type declaration
-
- (key: string, count?: number): Promise<any>
-
Parameters
-
key: string
-
Optional count: number
Returns Promise<any>
srandmemberBuffer
srandmemberBuffer: function
Type declaration
-
- (key: string, count?: number): Promise<any>
-
Parameters
-
key: string
-
Optional count: number
Returns Promise<any>
srem
srem: function
Type declaration
-
- (key: string, ...members: any[]): any
-
Parameters
-
key: string
-
Rest ...members: any[]
Returns any
sremBuffer
sremBuffer: function
Type declaration
-
- (key: string, ...members: any[]): any
-
Parameters
-
key: string
-
Rest ...members: any[]
Returns any
sscanStream
sscanStream: function
sscanStreamBuffer
sscanStreamBuffer: function
strlen
strlen: function
Type declaration
-
- (key: string): Promise<number>
-
Parameters
Returns Promise<number>
strlenBuffer
strlenBuffer: function
Type declaration
-
- (key: string): Promise<number>
-
Parameters
Returns Promise<number>
subscribe
subscribe: function
Type declaration
-
- (...channels: any[]): any
subscribeBuffer
subscribeBuffer: function
Type declaration
-
- (...channels: any[]): any
substr
substr: function
Type declaration
-
- (key: string, start: number, end: number): Promise<string>
-
Parameters
-
key: string
-
start: number
-
end: number
Returns Promise<string>
substrBuffer
substrBuffer: function
Type declaration
-
- (key: string, start: number, end: number): Promise<string>
-
Parameters
-
key: string
-
start: number
-
end: number
Returns Promise<string>
sunionBuffer
sunionBuffer: function
sunionstore
sunionstore: function
Type declaration
-
- (destination: string, ...keys: string[]): any
-
Parameters
-
destination: string
-
Rest ...keys: string[]
Returns any
sunionstoreBuffer
sunionstoreBuffer: function
Type declaration
-
- (destination: string, ...keys: string[]): any
-
Parameters
-
destination: string
-
Rest ...keys: string[]
Returns any
syncBuffer
syncBuffer: function
timeBuffer
timeBuffer: function
ttl
ttl: function
Type declaration
-
- (key: string): Promise<number>
-
Parameters
Returns Promise<number>
ttlBuffer
ttlBuffer: function
Type declaration
-
- (key: string): Promise<number>
-
Parameters
Returns Promise<number>
type
type: function
Type declaration
-
- (key: string): Promise<string>
-
Parameters
Returns Promise<string>
typeBuffer
typeBuffer: function
Type declaration
-
- (key: string): Promise<string>
-
Parameters
Returns Promise<string>
unsubscribe
unsubscribe: function
Type declaration
-
- (...channels: string[]): any
-
Parameters
-
Rest ...channels: string[]
Returns any
unsubscribeBuffer
unsubscribeBuffer: function
Type declaration
-
- (...channels: string[]): any
-
Parameters
-
Rest ...channels: string[]
Returns any
unwatch
unwatch: function
unwatchBuffer
unwatchBuffer: function
watchBuffer
watchBuffer: function
zadd
zadd: function
Type declaration
-
- (key: string, ...args: string[]): any
-
Parameters
-
key: string
-
Rest ...args: string[]
Returns any
zaddBuffer
zaddBuffer: function
Type declaration
-
- (key: string, ...args: string[]): any
-
Parameters
-
key: string
-
Rest ...args: string[]
Returns any
zcard
zcard: function
Type declaration
-
- (key: string): Promise<number>
-
Parameters
Returns Promise<number>
zcardBuffer
zcardBuffer: function
Type declaration
-
- (key: string): Promise<number>
-
Parameters
Returns Promise<number>
zcount
zcount: function
Type declaration
-
- (key: string, min: number | string, max: number | string): Promise<number>
-
Parameters
-
key: string
-
min: number | string
-
max: number | string
Returns Promise<number>
zcountBuffer
zcountBuffer: function
Type declaration
-
- (key: string, min: number | string, max: number | string): Promise<number>
-
Parameters
-
key: string
-
min: number | string
-
max: number | string
Returns Promise<number>
zincrby
zincrby: function
Type declaration
-
- (key: string, increment: number, member: string): Promise<any>
-
Parameters
-
key: string
-
increment: number
-
member: string
Returns Promise<any>
zincrbyBuffer
zincrbyBuffer: function
Type declaration
-
- (key: string, increment: number, member: string): Promise<any>
-
Parameters
-
key: string
-
increment: number
-
member: string
Returns Promise<any>
zinterstore
zinterstore: function
Type declaration
-
- (destination: string, numkeys: number, key: string, ...args: string[]): any
-
Parameters
-
destination: string
-
numkeys: number
-
key: string
-
Rest ...args: string[]
Returns any
zinterstoreBuffer
zinterstoreBuffer: function
Type declaration
-
- (destination: string, numkeys: number, key: string, ...args: string[]): any
-
Parameters
-
destination: string
-
numkeys: number
-
key: string
-
Rest ...args: string[]
Returns any
zrange
zrange: function
Type declaration
-
- (key: string, start: number, stop: number, withScores?: "WITHSCORES"): Promise<any>
-
Parameters
-
key: string
-
start: number
-
stop: number
-
Optional withScores: "WITHSCORES"
Returns Promise<any>
zrangeBuffer
zrangeBuffer: function
Type declaration
-
- (key: string, start: number, stop: number, withScores?: "WITHSCORES"): Promise<any>
-
Parameters
-
key: string
-
start: number
-
stop: number
-
Optional withScores: "WITHSCORES"
Returns Promise<any>
zrangebyscore
zrangebyscore: function
Type declaration
-
- (key: string, min: number | string, max: number | string, ...args: string[]): any
-
Parameters
-
key: string
-
min: number | string
-
max: number | string
-
Rest ...args: string[]
Returns any
zrangebyscoreBuffer
zrangebyscoreBuffer: function
Type declaration
-
- (key: string, min: number | string, max: number | string, ...args: string[]): any
-
Parameters
-
key: string
-
min: number | string
-
max: number | string
-
Rest ...args: string[]
Returns any
zrank
zrank: function
Type declaration
-
- (key: string, member: string): Promise<number>
-
Parameters
-
key: string
-
member: string
Returns Promise<number>
zrankBuffer
zrankBuffer: function
Type declaration
-
- (key: string, member: string): Promise<number>
-
Parameters
-
key: string
-
member: string
Returns Promise<number>
zrem
zrem: function
Type declaration
-
- (key: string, ...members: any[]): any
-
Parameters
-
key: string
-
Rest ...members: any[]
Returns any
zremBuffer
zremBuffer: function
Type declaration
-
- (key: string, ...members: any[]): any
-
Parameters
-
key: string
-
Rest ...members: any[]
Returns any
zremrangebyrank
zremrangebyrank: function
Type declaration
-
- (key: string, start: number, stop: number): Promise<any>
-
Parameters
-
key: string
-
start: number
-
stop: number
Returns Promise<any>
zremrangebyrankBuffer
zremrangebyrankBuffer: function
Type declaration
-
- (key: string, start: number, stop: number): Promise<any>
-
Parameters
-
key: string
-
start: number
-
stop: number
Returns Promise<any>
zremrangebyscore
zremrangebyscore: function
Type declaration
-
- (key: string, min: number | string, max: number | string): Promise<any>
-
Parameters
-
key: string
-
min: number | string
-
max: number | string
Returns Promise<any>
zremrangebyscoreBuffer
zremrangebyscoreBuffer: function
Type declaration
-
- (key: string, min: number | string, max: number | string): Promise<any>
-
Parameters
-
key: string
-
min: number | string
-
max: number | string
Returns Promise<any>
zrevrange
zrevrange: function
Type declaration
-
- (key: string, start: number, stop: number, withScores?: "WITHSCORES"): Promise<any>
-
Parameters
-
key: string
-
start: number
-
stop: number
-
Optional withScores: "WITHSCORES"
Returns Promise<any>
zrevrangeBuffer
zrevrangeBuffer: function
Type declaration
-
- (key: string, start: number, stop: number, withScores?: "WITHSCORES"): Promise<any>
-
Parameters
-
key: string
-
start: number
-
stop: number
-
Optional withScores: "WITHSCORES"
Returns Promise<any>
zrevrangebyscore
zrevrangebyscore: function
Type declaration
-
- (key: string, max: number | string, min: number | string, ...args: string[]): any
-
Parameters
-
key: string
-
max: number | string
-
min: number | string
-
Rest ...args: string[]
Returns any
zrevrangebyscoreBuffer
zrevrangebyscoreBuffer: function
Type declaration
-
- (key: string, max: number | string, min: number | string, ...args: string[]): any
-
Parameters
-
key: string
-
max: number | string
-
min: number | string
-
Rest ...args: string[]
Returns any
zrevrank
zrevrank: function
Type declaration
-
- (key: string, member: string): Promise<number>
-
Parameters
-
key: string
-
member: string
Returns Promise<number>
zrevrankBuffer
zrevrankBuffer: function
Type declaration
-
- (key: string, member: string): Promise<number>
-
Parameters
-
key: string
-
member: string
Returns Promise<number>
zscan
zscan: function
Type declaration
-
- (key: string, cursor: number, ...args: any[]): any
-
Parameters
-
key: string
-
cursor: number
-
Rest ...args: any[]
Returns any
zscanBuffer
zscanBuffer: function
Type declaration
-
- (key: string, cursor: number, ...args: any[]): any
-
Parameters
-
key: string
-
cursor: number
-
Rest ...args: any[]
Returns any
zscanStream
zscanStream: function
zscanStreamBuffer
zscanStreamBuffer: function
zscore
zscore: function
Type declaration
-
- (key: string, member: string): Promise<number>
-
Parameters
-
key: string
-
member: string
Returns Promise<number>
zscoreBuffer
zscoreBuffer: function
Type declaration
-
- (key: string, member: string): Promise<number>
-
Parameters
-
key: string
-
member: string
Returns Promise<number>
zunionstore
zunionstore: function
Type declaration
-
- (destination: string, numkeys: number, key: string, ...args: string[]): any
-
Parameters
-
destination: string
-
numkeys: number
-
key: string
-
Rest ...args: string[]
Returns any
zunionstoreBuffer
zunionstoreBuffer: function
Type declaration
-
- (destination: string, numkeys: number, key: string, ...args: string[]): any
-
Parameters
-
destination: string
-
numkeys: number
-
key: string
-
Rest ...args: string[]
Returns any