runUpdate abstract method

Future<int> runUpdate(
  1. String statement,
  2. List<Object?> args
)

Prepares and executes the statement with the variables bound to args. The statement will either be an UPDATE or DELETE statement.

If the statement completes successfully, the amount of changed rows should be returned, or 0 if no rows where updated. Should throw if the statement can't be executed.

Implementation

Future<int> runUpdate(String statement, List<Object?> args);