vibe.d beta banner
get vibe.d
0.7.30

Function redisStrip

Strips all non-Redis fields from a struct.

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.

Prototype

RedisStripped!(T,strip_id) redisStrip(bool strip_id, T)(
  in T val
);
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.