mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +00:00
ArrayListやめた
This commit is contained in:
parent
8a1314446d
commit
d575dcdb10
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user