executeAdapted method

Future<void> executeAdapted(
  1. String sql
)

Translates MySQL-dialect DDL into the active driver's dialect before running it. Only safe for schema statements — the grammar is not literal-aware.

Implementation

Future<void> executeAdapted(String sql) async {
  final adapter = _adapter;
  await _executeRaw(adapter == null ? sql : adapter.adaptQuery(sql));
}