mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
クエリ変更
This commit is contained in:
parent
6b3d0c0dae
commit
0b7b499624
|
@ -57,6 +57,6 @@ public interface VcsLogDao {
|
||||||
@Query("DELETE FROM vcs_log WHERE id = :id")
|
@Query("DELETE FROM vcs_log WHERE id = :id")
|
||||||
void deleteById(String id);
|
void deleteById(String id);
|
||||||
|
|
||||||
@Query("DELETE FROM vcs_log WHERE document_id = :documentId ORDER BY created_at LIMIT 1")
|
@Query("DELETE FROM vcs_log WHERE document_id = :documentId LIMIT 1")
|
||||||
void deleteLatestByDocumentId(String documentId);
|
void deleteLatestByDocumentId(String documentId);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user