toUpperCase method

StringField toUpperCase()

Get string db value with UPPER() function applied.

Implementation

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