Altex.Repo (Altex.Repo v0.1.1) View Source

The Repo API has a function start_repo/1 to start a repo server. The start_repo/2 function with the 2nd parameter :drop! deletes the entire table before re-opening it. The 2nd version is used mostly in tests.

Link to this section Summary

Functions

Returns a list of all Altex.Entitys from the named store.

Load the Altex.Entity with the id uuid from store. Returns :not_found if uuid doesn't exist.

Start the server for the named store

Start the server and drop all data.

Store the given entity (Altex.Entity) to the named store.

Link to this section Functions

Returns a list of all Altex.Entitys from the named store.

Load the Altex.Entity with the id uuid from store. Returns :not_found if uuid doesn't exist.

Start the server for the named store

Start the server and drop all data.

Store the given entity (Altex.Entity) to the named store.