alter method

  1. @override
void alter(
  1. String tableName,
  2. void callback(
    1. MutableTable table
    )
)

Implementation

@override
void alter(String tableName, void Function(MutableTable table) callback) {
  var tbl = MysqlAlterTable(tableName);
  callback(tbl);
  _writeln('ALTER TABLE "$tableName"');
  tbl.compile(_buf, _indent + 1);
  _buf.write(';');
}