getAsZSet

Returns a handle to a set type value.

getAsZSet
(
T = string
)

Examples

void test()
{
	auto db = connectRedis("127.0.0.1").getDatabase(0);
	auto set = db.getAsZSet("some_sorted_set");
	set.insert(1, "test");
}

Meta