typeof method

StringField typeof()

Get the db type of this query part using TYPEOF() function.

Implementation

StringField typeof() {
  StringField result = StringField();
  result.queryBuilder = () => 'TYPEOF(${buildQuery()})';
  result.parametersBuilder = () => getParameters();
  return result;
}