Function getAsHash
Returns a handle to a hash type value.
Prototype
RedisHash!T getAsHash(T)(
RedisDatabase db,
string key
);
Example
void test()
{
auto db = connectRedis("127.0.0.1") .getDatabase(0);
auto hash = db .getAsHash("some_hash");
hash["test"] = "123";
}
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.