diff --git a/app/src/main/java/net/foucry/pilldroid/dao/MedicDAO.java b/app/src/main/java/net/foucry/pilldroid/dao/MedicDAO.java index 5d0c9e1..f91ca0d 100644 --- a/app/src/main/java/net/foucry/pilldroid/dao/MedicDAO.java +++ b/app/src/main/java/net/foucry/pilldroid/dao/MedicDAO.java @@ -19,20 +19,15 @@ public interface MedicDAO { @Insert void insert(Medic... medics); - @Update void update(Medic... medics); @Delete void delete(Medic medic); - @Query("SELECT * FROM medics") List getAllMedics(); -/* @Query("SELECT * FROM medics WHERE id = :id") - Medic getMedicBy(Long id);*/ - @Query("SELECT * FROM medics WHERE cip13 = :cip13") Medic getMedicByCIP13(String cip13);