vibe.d beta banner
get vibe.d
0.7.30

Struct RedisValue

Represents a generic Redis value.

Constructors

Name Description
this

Properties

Name Type Description
database [get] inout(RedisDatabase) The database in which the key is stored.
exists [get] bool Checks if the referenced key exists.
key [get] string Name of the corresponding key.
ttl [get] core.time.Duration Remaining time-to-live.
type [get] RedisType The data type of the referenced value.

Methods

Name Description
expire Sets the key for expiration after the given timeout.
expireAt Sets the key for expiration at the given point in time.
moveTo Moves this key to a different database.
persist Removes any existing expiration time for the key.
remove Removes the referenced key.
rename Renames the referenced key.
renameIfNotExist Renames the referenced key if the destination key doesn't exist.
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.