API Reference ActiveMemory v0.2.2
modules
Modules
Bring the power of in memory storage with ETS and Mnesia to your Elixir application.
Migrations will get run on app startup and are designed to modify :mnesia's schema.
the-match-query-syntax
The match
query syntax
Using the match
macro you can structure a basic query.
The Store
store-api
Store API
Store.all/0
Get all records storedStore.delete/1
Delete the record providedStore.delete_all/0
Delete all records storedStore.one/1
Get one record matching either an attributes search ormatch
queryStore.select/1
Get all records matching either an attributes search ormatch
queryStore.withdraw/1
Get one record matching either an attributes search ormatch
query, delete the record and return itStore.write/1
Write a record into the memmory table
seeding
Seeding
When starting a Store
there is an option to provide a valid seed file and have the Store
auto load seeds contained in the file.
Define your table attributes and options.