mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
クエリ追加
This commit is contained in:
parent
2cfab24c76
commit
b7cb4369d1
|
@ -28,6 +28,10 @@ public interface DocumentDao {
|
||||||
@Query("SELECT * FROM Document WHERE id IN (:ids)")
|
@Query("SELECT * FROM Document WHERE id IN (:ids)")
|
||||||
List<DocumentEntity> findByIds(List<String> ids);
|
List<DocumentEntity> findByIds(List<String> ids);
|
||||||
|
|
||||||
|
@Query("SELECT * FROM Document WHERE public_path = :publicPath")
|
||||||
|
DocumentEntity findByPublicPath(String publicPath);
|
||||||
|
|
||||||
|
|
||||||
// Insert
|
// Insert
|
||||||
@Insert
|
@Insert
|
||||||
void insert(DocumentEntity document);
|
void insert(DocumentEntity document);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user