refactor(db): Replace deleteHistoryNoLastRead StorIO with SQLDelight eqv

This commit is contained in:
Ahmad Ansori Palembani 2024-11-26 09:05:36 +07:00
parent f14118a8c1
commit a199ff326d
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
4 changed files with 43 additions and 44 deletions

View file

@ -25,6 +25,9 @@ SELECT last_insert_rowid();
deleteAll:
DELETE FROM history;
deleteAllUnread:
DELETE FROM history WHERE history_last_read = 0;
getByMangaId:
SELECT history.*
FROM history