vibe.d beta banner
get vibe.d
0.8.0

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

Struct RedisValue

Represents a generic Redis value.

struct RedisValue ;

Constructors

Constructors

NameDescription
this

Properties

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

Methods

NameDescription
expireSets the key for expiration after the given timeout.
expireAtSets the key for expiration at the given point in time.
moveToMoves this key to a different database.
persistRemoves any existing expiration time for the key.
removeRemoves the referenced key.
renameRenames the referenced key.
renameIfNotExistRenames 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.