toLowerCase method

StringField toLowerCase()

Get string db value with LOWER() function applied.

Implementation

StringField toLowerCase() {
  var result = StringField();
  result.queryBuilder = () => 'LOWER(${buildQuery()})';
  result.parametersBuilder = () => getParameters();
  return result;
}