rawDeleteAndTrigger method
See rawDelete
Executes a raw SQL DELETE query.
Returns the number of changes made.
A notification to queries for tables
will be sent after the statement is executed
and had rows were affected.
Implementation
@override
Future<int> rawDeleteAndTrigger(
Iterable<String> tables,
String sql, [
List<Object?>? arguments,
]) async {
final rows = await rawDelete(sql, arguments);
if (rows > 0) {
sendTableTrigger(tables);
}
return rows;
}