vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Module vibe.db.redis.types

Convenience wrappers types for accessing Redis keys.

Note that the API is still subject to change!

Functions

NameDescription
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

NameDescription
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

NameDescription
RedisType The type of a Redis key.
Authors

Sönke Ludwig

Copyright

© 2014 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.