• Creates an "is like" expression which evaluates to true when the value of expression matches the specified pattern. It is possible to not specify the wildCard, singleChar and escapeChar arguments. In that case the OGC default values will be used (wildCard: '*', single char: '.' and escapeChar character: '!').

      FilterFactory.like(
    FilterFactory.property('city_name'),
    FilterFactory.literal('New*')
    )

    Parameters

    • propertyName: PropertyName

      the propertyName to check

    • pattern: Literal

      the pattern to match

    • OptionalwildCard: string

      the wildCard in the pattern (represents 0 or more characters)

    • OptionalsingleChar: string
    • OptionalescapeChar: string

      the escapeChar character. Any character after this is evaluated as a literal.

    • OptionalmatchCase: boolean

      indicates whether the "is like" operator is case sensitive or not. The default value is true

    Returns OGCCondition

    The "is like" expression.