exec function

Future<void> exec(
  1. String sql, [
  2. List bind = const []
])

Executes a SQL statement without returning results.

sql is the SQL statement to execute bind is an optional list of parameters to bind to the statement

Implementation

Future<void> exec(String sql, [List<dynamic> bind = const []]) async {
  await query(sql, bind);
}