View Source AshSanity.DataLayer (ash_sanity v0.1.0)

Implementation of the Ash.DataLayer behaviour for Sanity.

Summary

Functions

Callback implementation for Ash.DataLayer.can?/2.

Link to this function

cast_document(document, resource)

View Source
Link to this function

cast_documents(documents, resource)

View Source
Link to this function

filter(query, filter, resource)

View Source

Callback implementation for Ash.DataLayer.filter/3.

Callback implementation for Ash.DataLayer.limit/3.

Link to this function

offset(query, offset, _)

View Source

Callback implementation for Ash.DataLayer.offset/3.

Link to this function

resource_to_query(resource, api)

View Source

Callback implementation for Ash.DataLayer.resource_to_query/2.

Link to this function

run_query(query, resource, parent \\ nil)

View Source
Link to this function

select(query, select, resource)

View Source

Callback implementation for Ash.DataLayer.select/3.

Link to this function

sort(query, sort, resource)

View Source

Callback implementation for Ash.DataLayer.sort/3.