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

Implements the functions open_table/1, load_table/1, insert/2 and drop!/1 of Altex.Repo.Gateway for ETS. A simple in-memory implementation.

Link to this section Summary

Functions

Drop all entities is a noop in the :ets-implementation.

Insert entity with id uuid into table.

Return the list of all Altex.Entitys.

Creates a new table in memory. Protected to the name process (:repo_gateway).

Link to this section Functions

Drop all entities is a noop in the :ets-implementation.

Insert entity with id uuid into table.

Return the list of all Altex.Entitys.

Creates a new table in memory. Protected to the name process (:repo_gateway).