rawDelete method

Future<int> rawDelete(
  1. String sql,
  2. [List 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<dynamic> arguments]);