mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
refactor(db): Migrate getChapters query to SQLDelight
This commit is contained in:
parent
83cb898068
commit
e25f330118
10 changed files with 54 additions and 43 deletions
|
@ -42,6 +42,9 @@ JOIN chapters
|
|||
ON history.history_chapter_id = chapters._id
|
||||
WHERE chapters.url = :chapterUrl AND history.history_chapter_id = chapters._id;
|
||||
|
||||
getTotalReadDuration:
|
||||
SELECT sum(history_time_read) FROM history;
|
||||
|
||||
getRecentsUngrouped:
|
||||
SELECT
|
||||
M.*,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue