vibe.d beta banner
get vibe.d
0.7.30

Function RedisValue.renameIfNotExist

Renames the referenced key if the destination key doesn't exist.

This method will also update this instance to refer to the renamed key if the rename was successful.

Prototype

bool renameIfNotExist(
  string new_name
);

Returns

true iff the source key exists and the destination key doesn't exist.

See also

RENAMENX, rename

block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License