vibe.d beta banner
get vibe.d
0.8.3

Asynchronous I/O that doesn’t get in your way, written in D

Struct RedisValue

Represents a generic Redis value.

struct RedisValue ;

Constructors

NameDescription
this

Properties

NameTypeDescription
database[get] inout(RedisDatabase)The database in which the key is stored.
exists[get] boolChecks if the referenced key exists.
key[get] stringName of the corresponding key.
ttl[get] core.time.DurationRemaining time-to-live.
type[get] RedisTypeThe data type of the referenced value.

Methods

NameDescription
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.