Proyectos de Subversion Android Microlearning - Nuevo Interface

Rev

Rev 23 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 23 Rev 58
Línea 38... Línea 38...
38
 
38
 
39
 
39
 
Línea -... Línea 40...
-
 
40
    @Update
-
 
41
    void update(Capsule capsule);
-
 
42
 
40
    @Update
43
    @Query("UPDATE tb_capsules set total_comments= :total_comments, total_rating= :total_rating where uuid=:uuid")
41
    void update(Capsule capsule);
44
    void updateByUuid(String uuid, String total_comments, String total_rating);
Línea 42... Línea 45...
42
 
45
 
43
    @Query("DELETE FROM tb_capsules WHERE uuid = :uuid")
46
    @Query("DELETE FROM tb_capsules WHERE uuid = :uuid")