fix: RECURSIVE

This commit is contained in:
Ahmad Ansori Palembani 2024-06-06 22:57:28 +07:00
parent b1beed687e
commit d2f493ab57
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -14,7 +14,7 @@ LEFT JOIN (
sum(bookmark) AS bookmark_count
FROM chapters
LEFT JOIN (
WITH split(seq, _id, name, str) AS (
WITH RECURSIVE split(seq, _id, name, str) AS (
SELECT 0, mangas._id, NULL, replace(ifnull(mangas.filtered_scanlators, ''), ' & ', ',')||',' FROM mangas
UNION ALL SELECT
seq+1,