toSql method
Implementation
String toSql() {
return '''
CREATE TABLE IF NOT EXISTS $name (
${columns.map((e) => ' ${e.toSql()}').join(",\n")}
)${withoutRowId ? ' WITHOUT ROWID' : ''};
$additionalSql
''';
}
String toSql() {
return '''
CREATE TABLE IF NOT EXISTS $name (
${columns.map((e) => ' ${e.toSql()}').join(",\n")}
)${withoutRowId ? ' WITHOUT ROWID' : ''};
$additionalSql
''';
}