Function RedisDatabase.hsetNX

Set the value of a hash field, only if the field does not exist

Prototype

bool hsetNX(T)(
  string key,
  string field,
  T value
)
if (isValidRedisValueType!T);

Authors

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

Copyright

© 2012-2014 RejectedSoftware e.K.

License

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