writeExpressions method
Updates all columns provided in expressions keys with the corresponding Expression.
This is useful in combination with from and join to set columns based on other tables. For all other use cases see write.
Implementation
Future<int> writeExpressions(Map<String, Expression> expressions) async {
updatedColumns
..clear()
..addAll(expressions);
if (updatedColumns.isEmpty) {
return Future.value(0);
}
final result = await _run();
return result.affectedRows!;
}