mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +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)")
|
||||
List<DocumentEntity> findByIds(List<String> ids);
|
||||
|
||||
@Query("SELECT * FROM Document WHERE public_path = :publicPath")
|
||||
DocumentEntity findByPublicPath(String publicPath);
|
||||
|
||||
|
||||
// Insert
|
||||
@Insert
|
||||
void insert(DocumentEntity document);
|
||||
|
|
Loading…
Reference in New Issue
Block a user