getAsSet

Returns a handle to a set type value.

getAsSet
(
T = string
)

Examples

void test()
{
	auto db = connectRedis("127.0.0.1").getDatabase(0);
	auto set = db.getAsSet("some_set");
	set.insert("test");
}

Meta