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

Implements a Altex.Repo.Gateway for :dets. where all tables are stored to data/ENV/tablename.ets. ENV will be replaced with the environment from MIX_ENV, which is either :test, :dev, or :prod

data/prod/peope.dets
data/prod/accounts.dets
...

Link to this section Summary

Functions

Drops the entire file from disk. Mostly used in tests.

Insert the given entity with the given uuid into table and returns the entity.

Load the given table and return a list of all Altex.Entitys

Open or create the table but closes the file Immediately. Just ensure the file exists.

Link to this section Functions

Drops the entire file from disk. Mostly used in tests.

Insert the given entity with the given uuid into table and returns the entity.

Load the given table and return a list of all Altex.Entitys

Open or create the table but closes the file Immediately. Just ensure the file exists.