persist

Template function -

void persist(T)(T t)
void
persist
(
T
)
(
T t
)

Examples

// string key = "User";
// string field = "email";
// auto db = connectRedis("127.0.0.1").getDatabase(0);
// auto entry = RedisHash!string(db, key);
// entry.value = RedisValue(db, key);
// auto rhe = RedisHashEntry(entry.key, field, entry.value);
// assert(persist!RedisHashEntry(rhe));

Meta