From e626829b5c3b92766caae89d2da46ff63a2a9f02 Mon Sep 17 00:00:00 2001 From: r-ca Date: Thu, 14 Dec 2023 04:08:44 +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 --- .../main/java/one/nem/lacerta/source/database/dao/TagDao.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/src/main/java/one/nem/lacerta/source/database/dao/TagDao.java b/source/src/main/java/one/nem/lacerta/source/database/dao/TagDao.java index 5209be6e..125bc4f3 100644 --- a/source/src/main/java/one/nem/lacerta/source/database/dao/TagDao.java +++ b/source/src/main/java/one/nem/lacerta/source/database/dao/TagDao.java @@ -54,7 +54,6 @@ public interface TagDao { @Delete void deleteAll(List tags); - @Delete + @Query("DELETE FROM tag WHERE id = :id") void deleteById(String id); - }