ash v0.6.4 Ash.Filter.Predicate behaviour View Source
Represents a filter predicate
Link to this section Summary
Link to this section Types
Specs
Specs
predicate() :: struct()
Specs
t() :: %Ash.Filter.Predicate{ attribute: Ash.attribute(), predicate: predicate(), relationship_path: [atom()], value: term() }
Link to this section Functions
Link to this section Callbacks
Specs
compare(predicate(), predicate()) :: comparison()
Specs
new(Ash.resource(), Ash.attribute(), term()) :: {:ok, struct()} | {:error, term()}