rawDelete abstract method

Future<int> rawDelete(
  1. String sql, [
  2. List<Object?>? arguments
])

Executes a raw SQL DELETE query and returns the number of changes made.

int count = await database
  .rawDelete('DELETE FROM Test WHERE name = ?', ['another name']);

Implementation

Future<int> rawDelete(String sql, [List<Object?>? arguments]);