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

Prints :mnesia information to console.

Link to this function

start() View Source
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() :: :ok | {:error, any()}

Stop the Memento Application.

Link to this function

system(key \\ :all) View Source
system(atom()) :: any()

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.