update method
Update existing records in a table.
Implementation
Future<void> update({
required String table,
required String where,
Map<String, dynamic>? values,
Map<String, String>? valuesSql,
List<String>? namespace,
}) async {
final payload = <String, dynamic>{"table": table, "where": where, "values": values, "valuesSql": valuesSql, "namespace": namespace};
await room.sendRequest("database.update", payload);
}