DBKV (dbkv v0.1.4) View Source
A disk-based key-value store built on top of :dets
.
Inspired by CubDB's intuitive API.
Link to this section Summary
Functions
Returns all entries from table
.
Closes a table. Only processes that have opened a table are allowed to close it. All open tables must be closed before the system is stopped.
Decrement a number field by one.
Deletes the entry in table
for a specific key
.
Deletes all entries from table
.
Gets the value for a specific key
in table
.
Returns whether the given key
exists in table
.
Increment a number field by one.
Returns information about table
.
Returns all keys
from table
.
Opens a table. An empty :dets
table is created if no file exists.
Returns whether table
is open.
Puts the given value
under key
in table
.
Puts the given value
under key
unless the entry key
already exists in table
.
Returns the size of the collection in table
.
Updates the key
in table
with the given function.
Returns all values
from table
.
Link to this section Types
Specs
t() :: atom()
Link to this section Functions
Specs
Returns all entries from table
.
Specs
Closes a table. Only processes that have opened a table are allowed to close it. All open tables must be closed before the system is stopped.
Specs
Decrement a number field by one.
Specs
Deletes the entry in table
for a specific key
.
Specs
Deletes all entries from table
.
Specs
Specs
Specs
Specs
Specs
Specs
Specs
Specs
Gets the value for a specific key
in table
.
Specs
Returns whether the given key
exists in table
.
Specs
Increment a number field by one.
Specs
Returns information about table
.
Specs
Returns all keys
from table
.
Specs
Opens a table. An empty :dets
table is created if no file exists.
Specs
Returns whether table
is open.
Specs
Puts the given value
under key
in table
.
Specs
Puts the given value
under key
unless the entry key
already exists in table
.
Specs
Specs
Specs
Specs
Specs
Specs
Specs
Specs
Returns the size of the collection in table
.
Specs
Updates the key
in table
with the given function.
If key
is present in table
then the existing value
is passed to fun
and its result is
used as the updated value of key
. If key
is not present in table
, default
is inserted as
the value of key
. The default value will not be passed through the update function.
Specs
Returns all values
from table
.