contains method

Expression<bool> contains(
  1. String substring
)

Whether this expression contains substring.

Note that this is case-insensitive for the English alphabet only.

This is equivalent to calling like with %<substring>%.

Implementation

Expression<bool> contains(String substring) {
  return like('%$substring%');
}