Struct RedisCollection
struct RedisCollection(T, RedisCollectionOptions OPTIONS = RedisCollectionOptions .defaults, ulong ID_LENGTH = 1)
;
Constructors
Name | Description |
---|---|
this
(db, name, suffix)
|
Fields
Name | Type | Description |
---|---|---|
m_db
|
RedisDatabase | |
m_prefix
|
string[ID_LENGTH] | |
m_suffix
|
string |
Properties
Name | Type | Description |
---|---|---|
database [get]
|
inout(RedisDatabase) | |
m_allSet [get]
|
string | |
m_idCounter [get]
|
string |
Methods
Name | Description |
---|---|
add
(args)
|
|
createID
()
|
Creates an ID without setting a corresponding value. |
getKey
(ids)
|
|
initialize
(db, name, suffix)
|
|
isMember
(id)
|
|
opApply
(del)
|
|
opApply
(del)
|
|
opIndex
(id)
|
|
remove
(id)
|
Removes an ID along with the corresponding value. |
Aliases
Name | Description |
---|---|
IDS
|
|
IDType
|