ArrayListやめた

This commit is contained in:
ろむねこ 2023-12-14 11:25:12 +09:00
parent 8a1314446d
commit d575dcdb10
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -20,10 +20,10 @@ public interface TagDao {
TagEntity findById(String id); TagEntity findById(String id);
@Query("SELECT * FROM Tag") @Query("SELECT * FROM Tag")
ArrayList<TagEntity> findAll(); List<TagEntity> findAll();
@Query("SELECT * FROM Tag WHERE id IN (:ids)") @Query("SELECT * FROM Tag WHERE id IN (:ids)")
ArrayList<TagEntity> findByIds(ArrayList<String> ids); List<TagEntity> findByIds(List<String> ids);
// Insert // Insert
@Insert @Insert