toSql method

String toSql()

Implementation

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

$additionalSql
    ''';
}