shorterOrder property
FieldOrder
get
shorterOrder
Get sql statement to order this field by its values lengths ascending
.
Implementation
FieldOrder get shorterOrder {
FieldOrder result = FieldOrder();
result.queryBuilder = () => 'LENGTH(${buildQuery()}) ASC';
result.parametersBuilder = () => getParameters();
return result;
}