update abstract method

Future<int> update(
  1. String query, {
  2. required List<String> affectedTables,
  3. required List<ValueWithType> variables,
})

Update the database using the provided query and return the number of affected rows if known. variables are used to provide safe way to bind variables to the query statement. affectedTables is a hint describing which tables are affected by this update, can be used to notify table listeners

Implementation

Future<int> update(
  String query, {
  required List<String> affectedTables,
  required List<ValueWithType> variables,
});