vibe.d beta banner
get vibe.d
0.7.30

RedisDatabase.setXX - multiple declarations

  • Function RedisDatabase.setXX
  • Function RedisDatabase.setXX

Function RedisDatabase.setXX

Set the value of a key, only if the key already exists, and also set the specified expire time using D notation, e.g. 5.minutes for 5 minutes.

Prototype

bool setXX(T)(
  string key,
  T value,
  Duration expire_time
)
if (isValidRedisValueType!T);

Function RedisDatabase.setXX

Set the value of a key, only if the key already exists

Prototype

bool setXX(T)(
  string key,
  T value
)
if (isValidRedisValueType!T);
Authors

Jan Krüger, Sönke Ludwig, Michael Eisendle, Etienne Cimon

Copyright

© 2012-2016 RejectedSoftware e.K.

License

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