From f77b7c7089ec32efbac1c6b52b106a61114b01c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Mon, 29 Jan 2024 12:30:21 +0900 Subject: [PATCH] =?UTF-8?q?FolderDao=E3=81=AB=E5=89=8A=E9=99=A4=E3=82=92?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/lacerta/source/database/dao/FolderDao.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/src/main/java/one/nem/lacerta/source/database/dao/FolderDao.java b/source/src/main/java/one/nem/lacerta/source/database/dao/FolderDao.java index 404b53f8..d5084849 100644 --- a/source/src/main/java/one/nem/lacerta/source/database/dao/FolderDao.java +++ b/source/src/main/java/one/nem/lacerta/source/database/dao/FolderDao.java @@ -26,4 +26,7 @@ public interface FolderDao { @Insert void insertAll(FolderEntity... folderEntities); + + @Query("DELETE FROM Folder WHERE id = :id") + void deleteById(String id); }