Make syncChaptersWithSource use sqldelight (#7263)
* Make `syncChaptersWithSource` use sqldelight Will break chapter list live update on current ui Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com> * Review Changes Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
This commit is contained in:
@@ -56,4 +56,9 @@ GROUP BY source;
|
||||
|
||||
deleteMangasNotInLibraryBySourceIds:
|
||||
DELETE FROM mangas
|
||||
WHERE favorite = 0 AND source IN :sourceIds;
|
||||
WHERE favorite = 0 AND source IN :sourceIds;
|
||||
|
||||
updateLastUpdate:
|
||||
UPDATE mangas
|
||||
SET last_update = :lastUpdate
|
||||
WHERE _id = :mangaId;
|
||||
|
||||
Reference in New Issue
Block a user