KeyValueStore

Persistent indexed key-value store, backed by an SQLite database. Non-string keys/values are JSON-encoded.

Constructors

this
this(KeyValueDatabase* db, string tableName)
Undocumented in source.
this
this(string fn)
Undocumented in source.

Members

Functions

get
V get(K k, V defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
getOrAdd
V getOrAdd(K k, V defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
bool opBinaryRight(K k)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
V opIndex(K k)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
V opIndexAssign(V v, K k)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(K k)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

length
int length [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

db
KeyValueDatabase* db;
Undocumented in source.
tableName
string tableName;
Undocumented in source.

Meta