vibe.d beta banner
get vibe.d
0.10.1

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

Struct RedisCollection

struct RedisCollection(T, RedisCollectionOptions OPTIONS = RedisCollectionOptions.defaults, ulong ID_LENGTH = 1) ;

Constructors

NameDescription
this (db, name, suffix)

Fields

NameTypeDescription
m_db RedisDatabase
m_prefix string[ID_LENGTH]
m_suffix string

Properties

NameTypeDescription
database[get] inout(RedisDatabase)
m_allSet[get] string
m_idCounter[get] string

Methods

NameDescription
add (args)
createID () Creates an ID without setting a corresponding value.
getKey (ids)
initialize (db, name, suffix)
isMember (id)
opApply (del)
opApply (del)
opIndex (id)
remove (id) Removes an ID along with the corresponding value.

Aliases

NameDescription
IDS
IDType
Authors

Sönke Ludwig

Copyright

© 2014 Sönke Ludwig

License

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