vibe.d beta banner
get vibe.d

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

Function redisStrip

Strips all non-Redis fields from a struct.

RedisStripped!(T,strip_id) redisStrip(bool strip_id = true, T) (
  in T val

The returned struct will contain only fiels that can be converted using toRedis and that have names different than "id" or "id".

To reconstruct the full struct type, use the RedisStripped.unstrip method.


Sönke Ludwig


© 2014 RejectedSoftware e.K.


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