From af71f54796ff7624ea64e3af2efa8df339fcb75a Mon Sep 17 00:00:00 2001 From: jacques Date: Sat, 12 Mar 2022 21:29:26 +0100 Subject: [PATCH] Remove unuse query optimize import --- app/src/main/java/net/foucry/pilldroid/dao/MedicDAO.java | 5 ----- 1 file changed, 5 deletions(-) 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);