From e50a3bb8ce3f8653f0f850ae27367823656b1e71 Mon Sep 17 00:00:00 2001 From: r-ca Date: Thu, 14 Dec 2023 04:08:55 +0900 Subject: [PATCH] =?UTF-8?q?DeleteById=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/lacerta/source/database/dao/DocumentDao.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/src/main/java/one/nem/lacerta/source/database/dao/DocumentDao.java b/source/src/main/java/one/nem/lacerta/source/database/dao/DocumentDao.java index 60fefe18..f744f160 100644 --- a/source/src/main/java/one/nem/lacerta/source/database/dao/DocumentDao.java +++ b/source/src/main/java/one/nem/lacerta/source/database/dao/DocumentDao.java @@ -56,7 +56,6 @@ public interface DocumentDao { @Delete void deleteAll(List documents); - @Delete + @Query("DELETE FROM document WHERE id = :id") void deleteById(String id); - }