Skip to main content

matches_filter

Function matches_filter 

Source
pub fn matches_filter(value: &Value, display: &str, filter: &str) -> bool
Expand description

Does value (shown as display) pass a filter-row expression?

Numbers accept >, >=, <, <=, =, <> and ranges a..b; everything else is a case-insensitive “contains”. This is the short syntax of one cell; only run_query knows the columns that a filter-row expression names.