fix: Maybe sqldelight doesn't support WITH RECURSIVE?

This commit is contained in:
Ahmad Ansori Palembani 2024-06-06 22:14:58 +07:00
parent 0cc7d03968
commit d6edbae357
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -1,5 +1,5 @@
CREATE VIEW scanlators_view AS -- Probably should migrate these to a real table
WITH RECURSIVE split(seq, _id, name, str) AS (
WITH split(seq, _id, name, str) AS (
SELECT 0, M._id, NULL, replace(ifnull(M.filtered_scanlators, ''), ' & ', ',')||',' FROM mangas AS M
UNION ALL SELECT
seq+1,