deleteAll method

  1. @override
Future<int> deleteAll({
  1. Database? database,
})
override

Implementation

@override
Future<int> deleteAll({Database? database}) async {
  final Database db = database != null ? database : this.database;

  await db.delete(this.entity.tableName);

  return 1;
}