I know I can\'t use DELETE in a query (that is a shame by the way), I will get the following error:
DELETE
Error:error: Observable query retur
You can use below method to delete by ID
@Query("DELETE FROM yourDB WHERE id = :id") void deleteById(int id);
for delete all rows
@Query("DELETE FROM yourDB") void delete();