Amnesia.Metadata (nuamnesia v0.3.0)
Summary
Functions
Get the counter value for the given table and field.
Update the counter for the given table and field by the given value.
Get the counter value for the given table and field, with a dirty read.
Create the metadata table.
Create the metadata table, raising in case of error.
Destroy the metadata table.
Destroy the metadata table, raising in case of error.
Get the metadata for the given database.
Get a value from the metadata table.
Get a value from the metadata table using a dirty read.
Set a value in the metadata table.
Set a value in the metadata table using a dirty write.
Types
Functions
@spec counter(t(), module(), atom()) :: non_neg_integer()
Get the counter value for the given table and field.
@spec counter(t(), module(), atom(), integer()) :: non_neg_integer()
Update the counter for the given table and field by the given value.
@spec counter!(t(), module(), atom()) :: non_neg_integer()
Get the counter value for the given table and field, with a dirty read.
Create the metadata table.
Create the metadata table, raising in case of error.
Destroy the metadata table.
Destroy the metadata table, raising in case of error.
Get the metadata for the given database.
Get a value from the metadata table.
Get a value from the metadata table using a dirty read.
Set a value in the metadata table.
Set a value in the metadata table using a dirty write.