mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
WIP リミットありの全件取得を実装
This commit is contained in:
parent
4c20c7411b
commit
e8dc956b7d
|
@ -22,6 +22,9 @@ public interface DocumentDao {
|
|||
@Query("SELECT * FROM Document")
|
||||
List<DocumentEntity> findAll();
|
||||
|
||||
@Query("SELECT * FROM Document LIMIT :limit")
|
||||
List<DocumentEntity> getAllWithLimit(int limit);
|
||||
|
||||
@Query("SELECT * FROM Document WHERE id IN (:ids)")
|
||||
List<DocumentEntity> findByIds(List<String> ids);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user