Function getAsSet
Returns a handle to a set type value.
Prototype
RedisSet!T getAsSet(T)(
RedisDatabase db,
string key
);
Example
void test()
{
auto db = connectRedis("127.0.0.1") .getDatabase(0);
auto set = db .getAsSet("some_set");
set .insert("test");
}
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.