toSubSql method

String toSubSql(
  1. String table
)

---------- SUB SQL ----------

Implementation

String toSubSql(String table) {
  final sql = buildSql(table);
  return sql.endsWith(';')
      ? sql.substring(0, sql.length - 1)
      : sql;
}