vibe.d beta banner
get vibe.d
0.8.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
RedisHashRepresents a Redis hash value.
RedisListRepresents a Redis list value.
RedisSetRepresents a Redis set value.
RedisStringRepresents a Redis string value.
RedisValueRepresents a generic Redis value.
RedisZSetRepresents a Redis sorted set value.

Enums

NameDescription
RedisTypeThe type of a Redis key.
Authors

Sönke Ludwig

Copyright

© 2014 RejectedSoftware e.K.

License

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