sql property

String sql

Implementation

String get sql {
  var buf = StringBuffer();
  if (_operation != null) buf.write("${_operation}(");
  buf.write("$_tableName.$_fieldName");
  if (_operation != null) buf.write(")");
  if (_newName != null) buf.write(" AS $_newName");
  return buf.toString();
}