vibe.d beta banner
get vibe.d
0.10.1

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

Function getAsHash

Returns a handle to a hash type value.

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 Sönke Ludwig

License

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