toSql method

String toSql()

Implementation

String toSql() {
  if (_select != null) {
    return _selectSql();
  } else if (_delete != null) {
    return _deleteSql();
  } else if (_update != null) {
    return _updateSql();
  } else if (_count != null) {
    return _countSql();
  } else if (_insert != null) {
    return _insertSql();
  } else {
    throw Exception('No se indicó una statement.');
  }
}