Memento v0.3.1 Memento View Source
Simple + Powerful interface to the Erlang Mnesia Database.
See the README to get started.
Link to this section Summary
Functions
Prints :mnesia
information to console
Start the Memento Application
Stop the Memento Application
Returns all information about the Mnesia system
Link to this section Functions
Link to this function
info()
View Source
info()
View Source
info() :: :ok
info() :: :ok
Prints :mnesia
information to console.
Link to this function
start()
View Source
start()
View Source
start() :: :ok | {:error, any()}
start() :: :ok | {:error, any()}
Start the Memento Application.
This starts Memento and :mnesia
along with some sane application
defaults. See :mnesia.start/0
for more details.
Link to this function
stop()
View Source
stop()
View Source
stop() :: :ok | {:error, any()}
stop() :: :ok | {:error, any()}
Stop the Memento Application.
Link to this function
system(key \\ :all) View Source
Returns all information about the Mnesia system.
Optionally accepts a key
atom argument which returns result for
only that key. Will throw an exception if that key is invalid. See
:mnesia.system_info/0
for more information and a full list of
allowed keys.
Link to this function
transaction(fun) View Source
Link to this function