Backpex.Adapters.Ash (Backpex v0.15.2)
View SourceThe Backpex.Adapter to connect your Backpex.LiveResource to an Ash.Resource.
adapter_config
:resource(atom/0) - Required. TheAsh.Resourcethat will be used to perform CRUD operations.
Work in progress
The Backpex.Adapters.Ash is currently not usable! It can barely list and show items. We will work on this as we continue to implement the Backpex.Adapter pattern throughout the codebase.
Summary
Functions
Applies a change to a given item.
Returns the number of items matching the given criteria.
Deletes multiple items.
Gets a database record with the given primary key value.
Inserts given item.
Returns a list of items by given criteria.
Updates given item.
Updates given items.
Functions
Applies a change to a given item.
Returns the number of items matching the given criteria.
Deletes multiple items.
Gets a database record with the given primary key value.
Returns nil if no result was found.
Inserts given item.
Returns a list of items by given criteria.
Updates given item.
Updates given items.