mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 02:34:39 +00:00
refactor: Attempt 2 on getting library manga using flow
This commit is contained in:
parent
535fcc81dd
commit
7b765a5fc2
9 changed files with 82 additions and 52 deletions
|
@ -45,6 +45,11 @@ SELECT *
|
|||
FROM mangas
|
||||
WHERE favorite = 1 AND lower(title) = :title AND source = :source;
|
||||
|
||||
findFavorites:
|
||||
SELECT *
|
||||
FROM mangas
|
||||
WHERE favorite = 1;
|
||||
|
||||
insert:
|
||||
INSERT INTO mangas (source, url, artist, author, description, genre, title, status, thumbnail_url, favorite, last_update, initialized, viewer, hide_title, chapter_flags, date_added, filtered_scanlators, update_strategy)
|
||||
VALUES (:source, :url, :artist, :author, :description, :genre, :title, :status, :thumbnailUrl, :favorite, :lastUpdate, :initialized, :viewer, :hideTitle, :chapterFlags, :dateAdded, :filteredScanlators, :updateStrategy);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue