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
.