API Reference ActiveMemory v0.3.2
modules
Modules
Bring the power of in memory storage with ETS and Mnesia to your Elixir application.
An adapter for storing structs in ETS
An adapter for storing structs in Mnesia
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/0Get all records storedStore.delete/1Delete the record providedStore.delete_all/0Delete all records storedStore.one/1Get one record matching either an attributes search ormatchqueryStore.select/1Get all records matching either an attributes search ormatchqueryStore.withdraw/1Get one record matching either an attributes search ormatchquery, delete the record and return itStore.write/1Write 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.