refactor(db): Migrate deleteTrack query to SQLDelight

This commit is contained in:
Ahmad Ansori Palembani 2024-11-29 14:44:13 +07:00
parent 333a7eea68
commit 83cb898068
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
7 changed files with 22 additions and 12 deletions

View file

@ -23,3 +23,7 @@ getAllByMangaId:
SELECT *
FROM manga_sync
WHERE manga_id = :mangaId;
deleteForManga:
DELETE FROM manga_sync
WHERE manga_id = :mangaId AND sync_id = :syncId;