Filtrex v0.4.3 Filtrex.Condition.Text

Filtrex.Condition.Text is a specific condition type for handling text filters with various comparisons. There are no configuration options for the date condition.

It accepts the following format (where inverse is passed directly from Filtrex.Condition):

%{
  inverse: boolean,
  column: string,
  comparator: string,  # equals, does not equal, contains, does not contain
  value: string,
  type: "text"
}

Summary

Functions

Tries to create a valid text condition struct, calling helper methods from Filtrex.Condition to validate each type. If any of the types are not valid, it accumulates the errors and returns them

Types

Functions

comparators()
parse(config, map)

Tries to create a valid text condition struct, calling helper methods from Filtrex.Condition to validate each type. If any of the types are not valid, it accumulates the errors and returns them.

type()