delete method
await db.delete(
table:'table',
where: {'id':1}
);
Implementation
Future<int> delete({
required String table,
required where,
bool debug = false,
}) async {
table = _tableParse(table);
String _where = _whereParse(where);
ResultFormat results =
await query('DELETE FROM $table $_where ', debug: debug);
return results.affectedRows;
}