Struct RedisObject
Models a single strongly typed object.
struct RedisObject(T)
;
This structure is rougly equivalent to a value of type T
. The
underlying data is represented as a Redis hash. This means that only
primitive fields are supported for T
.
Constructors
Name | Description |
---|---|
this
(db, key)
|
|
this
(hash)
|
Fields
Name | Type | Description |
---|---|---|
m_hash
|
RedisHash!string |
Properties
Name | Type | Description |
---|---|---|
exists [get]
|
bool | |
get [get]
|
T |
Methods
Name | Description |
---|---|
fields
()
|
|
opAssign
(val)
|
|
remove
()
|
|
toKeysAndValues
(val)
|