mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
最後のレコードを削除できるように
This commit is contained in:
parent
70380df8fd
commit
383b34c3d2
|
@ -56,4 +56,7 @@ public interface VcsLogDao {
|
|||
// Delete
|
||||
@Query("DELETE FROM vcs_log WHERE id = :id")
|
||||
void deleteById(String id);
|
||||
|
||||
@Query("DELETE FROM vcs_log WHERE document_id = :documentId ORDER BY created_at LIMIT 1")
|
||||
void deleteLatestByDocumentId(String documentId);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user