ecto_mnesia v0.6.3 Ecto.Mnesia.Adapter
Core Ecto Mnesia adapter implementation.
Summary
Functions
Automatically generate next ID for binary keys, leave sequence keys empty for generation on insert
Returns the childspec that starts the adapter process.
This method is called from Ecto.Repo.Supervisor.init/2
Deletes a record from a Mnesia database
Callback implementation for Ecto.Adapter.dumpers/2
Ensure all applications necessary to run the adapter are started
Update all records by a Ecto.Query
Returns true when called inside a transaction
Insert Ecto Schema struct to Mnesia database
Callback implementation for Ecto.Adapter.loaders/2
Prepares are called by Ecto before execute/6
methods
Transaction rollbacks is not supported
Run fun
inside a Mnesia transaction
Updates record stored in a Mnesia database
Functions
Automatically generate next ID for binary keys, leave sequence keys empty for generation on insert.
Returns the childspec that starts the adapter process.
This method is called from Ecto.Repo.Supervisor.init/2
.
Callback implementation for Ecto.Adapter.dumpers/2
.
Insert Ecto Schema struct to Mnesia database.
Callback implementation for Ecto.Adapter.loaders/2
.
Prepares are called by Ecto before execute/6
methods.