ash v1.24.1 Ash.Filter.Runtime View Source

Checks a record to see if it matches a filter statement.

We can't always tell if a record matches a filter statement, and as such this function may return :unknown

Link to this section Summary

Functions

Checks if a record matches a filter, side loading any necessary relationships"

Link to this section Functions

Link to this function

matches(record, filter, dirty_fields, side_loads \\ [])

View Source
Link to this function

matches?(api, record, filter, dirty_fields \\ [])

View Source

Checks if a record matches a filter, side loading any necessary relationships"

If it can't tell, this returns false.