execute abstract method

void execute(
  1. String sql, [
  2. List<Object?> parameters = const []
])

Executes the sql statement with the provided parameters, ignoring any rows returned by the statement.

For the types supported in parameters, see StatementParameters. To view rows returned by a statement, run it with select. Statements that aren't SELECTs in SQL but still return rows (such as updates with a RETURNING clause) can still be safely executed with select.

Implementation

void execute(String sql, [List<Object?> parameters = const []]);