mirror of
https://github.com/mihonapp/mihon.git
synced 2025-02-12 10:08:55 +01:00
Beautify sql query
This commit is contained in:
parent
232edee14a
commit
f0d524312f
@ -81,8 +81,10 @@ WHERE favorite = 1;
|
|||||||
getReadMangaNotInLibrary:
|
getReadMangaNotInLibrary:
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM mangas
|
FROM mangas
|
||||||
WHERE favorite = 0 AND _id IN(
|
WHERE favorite = 0 AND _id IN (
|
||||||
SELECT chapters.manga_id FROM chapters WHERE read = 1 OR last_page_read != 0
|
SELECT DISTINCT chapters.manga_id
|
||||||
|
FROM chapters
|
||||||
|
WHERE read = 1 OR last_page_read != 0
|
||||||
);
|
);
|
||||||
|
|
||||||
getAllManga:
|
getAllManga:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user