Preparing search index...
The search index is not available
unit-redis-ness
unit-redis-ness
resp/data/database-value
DatabaseValue
Class DatabaseValue
Index
Constructors
constructor
Properties
expired
At?
type
value
WRONG_
TYPE
Methods
get
Expired
At
get
Hash
get
List
get
Set
get
Sorted
Set
get
String
get
Type
get
Value
is
Expired
no
Expire
required
Type
set
Expired
At
size
time
To
Live
time
To
Live
Millis
time
To
Live
Seconds
to
String
set
string
zset
Constructors
constructor
new
Database
Value
(
type
,
value
,
expiredAt
?
)
:
DatabaseValue
Parameters
type
:
DataType
value
:
any
Optional
expiredAt
:
number
Returns
DatabaseValue
Properties
Private
Optional
expired
At
expired
At
?:
number
Private
type
type
:
DataType
Private
value
value
:
any
Static
Private
WRONG_
TYPE
WRONG_
TYPE
:
string
= "WRONGTYPE Operation against a key holding the wrong kind of value"
Methods
get
Expired
At
get
Expired
At
(
)
:
number
Returns
number
get
Hash
get
Hash
(
)
:
any
Returns
any
get
List
get
List
(
)
:
string
[]
Returns
string
[]
get
Set
get
Set
(
)
:
Set
<
any
>
Returns
Set
<
any
>
get
Sorted
Set
get
Sorted
Set
(
)
:
SortedSet
Returns
SortedSet
get
String
get
String
(
)
:
string
Returns
string
get
Type
get
Type
(
)
:
DataType
Returns
DataType
Private
get
Value
get
Value
(
)
:
any
Returns
any
is
Expired
is
Expired
(
now
)
:
boolean
Parameters
now
:
number
Returns
boolean
no
Expire
no
Expire
(
)
:
DatabaseValue
Returns
DatabaseValue
Private
required
Type
required
Type
(
type
)
:
void
Parameters
type
:
DataType
Returns
void
set
Expired
At
set
Expired
At
(
ttlMillis
)
:
DatabaseValue
Parameters
ttlMillis
:
number
Returns
DatabaseValue
size
size
(
)
:
number
Returns
number
Private
time
To
Live
time
To
Live
(
now
)
:
number
Parameters
now
:
number
Returns
number
time
To
Live
Millis
time
To
Live
Millis
(
now
)
:
number
Parameters
now
:
number
Returns
number
time
To
Live
Seconds
time
To
Live
Seconds
(
now
)
:
number
Parameters
now
:
number
Returns
number
to
String
to
String
(
)
:
string
Returns
string
Static
set
set
(
values
?
)
:
DatabaseValue
Parameters
Optional
values
:
Set
<
any
>
Returns
DatabaseValue
Static
string
string
(
value
)
:
DatabaseValue
Parameters
value
:
string
Returns
DatabaseValue
Static
zset
zset
(
values
)
:
DatabaseValue
Parameters
values
:
SortedSet
Returns
DatabaseValue
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
expired
At
type
value
WRONG_
TYPE
get
Expired
At
get
Hash
get
List
get
Set
get
Sorted
Set
get
String
get
Type
get
Value
is
Expired
no
Expire
required
Type
set
Expired
At
size
time
To
Live
time
To
Live
Millis
time
To
Live
Seconds
to
String
set
string
zset
unit-redis-ness
client
dictionary
logger
lua/bit/lua-bit
lua/call/lua-redis
resp/command/client-command
resp/command/db/dbsize-command
resp/command/db/flushall-command
resp/command/db/flushdb-command
resp/command/db/select-command
resp/command/discard-command
resp/command/exec-command
resp/command/hash/hget-command
resp/command/hash/hgetall-command
resp/command/hash/hset-command
resp/command/key/del-command
resp/command/key/exists-command
resp/command/key/expire-command
resp/command/key/keys-command
resp/command/key/move-command
resp/command/key/pexpire-command
Loading...