mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
WIP リミットありの全件取得を実装
This commit is contained in:
1 file changed
+3
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user