You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an error happens with either of these calls, they will indicate in the Filtrex struct that the filter is empty:
%Filtrex{empty: true}
When this value is piped into Filtrex.query/2, it will by default not narrow the query but could be configurable to always return an empty set of values:
# default behavior:Filters.query(YourApp.YourModel,%Filtrex{empty: true})# => does not narrow query# optional behaviorFilters.query(YourApp.YourModel,%Filtrex{empty: true},allow_empty: false)# => returns query that never matches (e.g. true == false or something similar)
The text was updated successfully, but these errors were encountered:
If an error happens with either of these calls, they will indicate in the
Filtrex
struct that the filter is empty:When this value is piped into
Filtrex.query/2
, it will by default not narrow the query but could be configurable to always return an empty set of values:The text was updated successfully, but these errors were encountered: