Skip to content

daiyongg-kim/room_test_java

Repository files navigation

room_test_java

@Dao public interface TodoDao {

@Query("SELECT * FROM Todo") List getAll(); @Insert void insert(Todo todo);

@Update
void update(Todo todo);

@Delete
void delete(Todo todo);

@Query("DELETE FROM Todo")
void deleteAll();

}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages