update abstract method

Future<DbResult> update(
  1. String table,
  2. Map<String, dynamic> data, {
  3. required Map<String, dynamic> where,
})

Updates one or more rows in the specified table.

  • data: Column values to update.
  • where: Conditions to match rows (e.g., {'id': 1}).

Implementation

Future<DbResult> update(
  String table,
  Map<String, dynamic> data, {
  required Map<String, dynamic> where,
});