View Source Ash.DataLayer.Ets (ash v2.21.13)

An ETS (Erlang Term Storage) backed Ash Datalayer, for testing and lightweight usage.

Remember, this does not have support for transactions! This is not recommended for production use, especially in multi-user applications. It can, however, be great for prototyping.

Summary

Functions

Link to this function

do_add_calculations(records, resource, calculations, api)

View Source
This function is deprecated. use Ash.DataLayer.Ets.Info.private?/1 instead.

See Ash.DataLayer.Ets.Info.private?/1.

Link to this function

stop(resource, tenant \\ nil)

View Source

Stops the storage for a given resource/tenant (deleting all of the data)

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

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