View Source Ash.DataLayer.Mnesia (ash v2.0.0-pre.0)

An Mnesia backed Ash Datalayer.

In your application intialization, you will need to call Mnesia.create_schema([node()]).

Additionally, you will want to create your mnesia tables there.

This data layer is extremely unoptimized, fetching all records from a table and filtering them in memory. This is primarily used for testing the behavior of data layers in Ash. If it was improved, it could be a viable data layer.

Link to this section Summary

Functions

Creates the table for each mnesia resource in an api

Link to this section Functions

Creates the table for each mnesia resource in an api

This function is deprecated. use Ash.DataLayer.Mnesia.Info.table/1 instead.

See Ash.DataLayer.Mnesia.Info.table/1.