Record-level Mnesia operations (read / write / delete / select / match).
Every function must run inside a MishkaInstaller.Helper.MnesiaAssistant.Transaction activity;
the dirty_* reads run in MishkaInstaller.Helper.MnesiaAssistant.Transaction.dirty/1.
Summary
Functions
Deletes the record at key in table with the given lock. Delegates to :mnesia.delete/3.
Reads the records whose indexed attr is key without a lock. Delegates to
:mnesia.dirty_index_read/3.
Returns every record in a table matching pattern without a lock. Delegates to
:mnesia.dirty_match_object/1.
Reads the records stored under key in table without a lock. Delegates to
:mnesia.dirty_read/2.
Runs a match specification against table without a lock. Delegates to
:mnesia.dirty_select/2.
Reads records via a secondary index attr matching key. Delegates to :mnesia.index_read/3.
Returns every record in a table matching pattern. Delegates to :mnesia.match_object/1.
Reads the records stored under key in table. Delegates to :mnesia.read/2.
Runs a match specification against table. Delegates to :mnesia.select/2.
Writes a full record tuple ({Table, field1, field2, ...}). Delegates to :mnesia.write/1.
Functions
Deletes the record at key in table with the given lock. Delegates to :mnesia.delete/3.
Reads the records whose indexed attr is key without a lock. Delegates to
:mnesia.dirty_index_read/3.
Returns every record in a table matching pattern without a lock. Delegates to
:mnesia.dirty_match_object/1.
Reads the records stored under key in table without a lock. Delegates to
:mnesia.dirty_read/2.
Runs a match specification against table without a lock. Delegates to
:mnesia.dirty_select/2.
Reads records via a secondary index attr matching key. Delegates to :mnesia.index_read/3.
Returns every record in a table matching pattern. Delegates to :mnesia.match_object/1.
Reads the records stored under key in table. Delegates to :mnesia.read/2.
Runs a match specification against table. Delegates to :mnesia.select/2.
@spec write(tuple()) :: :ok
Writes a full record tuple ({Table, field1, field2, ...}). Delegates to :mnesia.write/1.