update abstract method
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,
});