like method

Expression<bool> like(
  1. String regex, {
  2. String? escapeChar,
})

Whether this column matches the given pattern. For details on what patters are valid and how they are interpreted, check out this tutorial.

Implementation

Expression<bool> like(String regex, {String? escapeChar}) {
  return likeExp(
    Variable.withString(regex),
    escape: escapeChar != null ? Variable<String>(escapeChar) : null,
  );
}