pub trait ILike<const HAS_ESCAPE: bool> {
    type Err;
    fn ilike(&self, pattern: &Self) -> Result<bool, Self::Err>;

    fn not_ilike(&self, pattern: &Self) -> Result<bool, Self::Err> { ... }
}
Expand description

SQL ilike style pattern matching.

ilike is a case-insensitive version of like style pattern matching; make the input and pattern to be lowercase and do comparison. Other internal implementation are the same as like.

Associated Types

The associated error which can be returned from pattern matching.

Required methods

Check if self match a pattern.

Returns true if self matches the supplied pattern.

Provided methods

Check if self match a pattern.

Returns true if self doesn’t match the supplied pattern.

Implementations on Foreign Types

Implementors