subString method
Get string db value with SUBSTR()
function applied.
Implementation
StringField subString(int startIndex, int length) {
var result = StringField();
result.queryBuilder = () => 'SUBSTR(${buildQuery()},$startIndex,$length)';
result.parametersBuilder = () => getParameters();
return result;
}