Module vibe.db.redis.types
Convenience wrappers types for accessing Redis keys.
Note that the API is still subject to change!
Functions
Name | Description |
---|---|
fromRedis(value)
|
Converts a Redis value back to its original representation. |
getAsHash(db, key)
|
Returns a handle to a hash type value. |
getAsList(db, key)
|
Returns a handle to a list type value. |
getAsSet(db, key)
|
Returns a handle to a set type value. |
getAsString(db, key)
|
Returns a handle to a string type value. |
getAsZSet(db, key)
|
Returns a handle to a set type value. |
toRedis(value)
|
Converts the given value to a binary/string representation suitable for Redis storage. |
Structs
Name | Description |
---|---|
RedisHash
|
Represents a Redis hash value. |
RedisList
|
Represents a Redis list value. |
RedisSet
|
Represents a Redis set value. |
RedisString
|
Represents a Redis string value. |
RedisValue
|
Represents a generic Redis value. |
RedisZSet
|
Represents a Redis sorted set value. |
Enums
Name | Description |
---|---|
RedisType
|
The type of a Redis key. |