Ash.Filter.Runtime (ash v3.5.9)

View Source

Tools to checks a record to see if it matches a filter statement, or to evalute expressions against records.

Summary

Functions

Removes any records that don't match the filter. Automatically loads if necessary. If there are any ambiguous terms in the filter (e.g things that could only be determined by data layer), it is assumed that they are not matches.

Functions

filter_matches(domain, records, filter, opts \\ [])

Removes any records that don't match the filter. Automatically loads if necessary. If there are any ambiguous terms in the filter (e.g things that could only be determined by data layer), it is assumed that they are not matches.

old_get_related(records, list, unknown_on_unknown_refs?, join_filters, parent_stack, domain)