refactor(db): Migrate getManga queries to SQLDelight

This commit is contained in:
Ahmad Ansori Palembani 2024-11-29 14:21:16 +07:00
parent 312f9e197b
commit aae9a68c8b
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
14 changed files with 65 additions and 67 deletions

View file

@ -48,7 +48,8 @@ WHERE favorite = 1 AND lower(title) = :title AND source != :source;
findFavorites:
SELECT *
FROM mangas
WHERE favorite = 1;
WHERE favorite = 1
ORDER BY title;
findReadNotFavorites:
SELECT *