execute method

Future<void> execute(
  1. String sql
)

Sends sql to the database exactly as written.

Deliberately not passed through the driver grammar: that rewriter collapses whitespace, swaps identifier quotes and strips COMMENT '…', all of which corrupt string literals in statements like INSERT. Use executeAdapted to opt into the MySQL-dialect translation.

Implementation

Future<void> execute(String sql) async {
  await _executeRaw(sql);
}