ash v1.13.4 Ash.Filter.Predicate behaviour View Source
Represents a filter predicate
The embedded
flag is set to true for predicates that are present in the base_filter
.
Datalayers may optionally use this information.
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this section Callbacks
Specs
compare(predicate(), predicate()) :: comparison()
Specs
match?(predicate(), term(), Ash.Type.t()) :: boolean() | :unknown
Specs
new(Ash.resource(), Ash.attribute(), term()) :: {:ok, struct()} | {:error, term()}