diff --git a/source/src/main/java/one/nem/lacerta/source/database/dao/LibraryDao.java b/source/src/main/java/one/nem/lacerta/source/database/dao/LibraryDao.java index ddb74188..8948b9dd 100644 --- a/source/src/main/java/one/nem/lacerta/source/database/dao/LibraryDao.java +++ b/source/src/main/java/one/nem/lacerta/source/database/dao/LibraryDao.java @@ -10,13 +10,13 @@ import one.nem.lacerta.source.database.entity.LibraryEntity; @Dao public interface LibraryDao { - @Query("SELECT * FROM LibraryEntity WHERE id = :id") + @Query("SELECT * FROM Library WHERE id = :id") LibraryEntity findById(String id); - @Query("SELECT * FROM LibraryEntity") + @Query("SELECT * FROM Library") List findAll(); - @Query("SELECT * FROM LibraryEntity WHERE id IN (:ids)") + @Query("SELECT * FROM Library WHERE id IN (:ids)") List findByIds(List ids); // WIP