longerOrder property

FieldOrder get longerOrder

Get sql statement to order this field by its values lengths descending.

Implementation

FieldOrder get longerOrder {
  FieldOrder result = FieldOrder();
  result.queryBuilder = () => 'LENGTH(${buildQuery()}) DESC';
  result.parametersBuilder = () => getParameters();
  return result;
}