execute abstract method
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 SELECT
s 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 []]);