Closed juandent closed 1 month ago
You are right that the example should use with_recursive
for clarity.
However, SQLite does not care whether a CTE is marked as "recursive" or not. The recursive nature of a CTE depends on the select statement.
ok! thanks
Which produces SQL: WITH "cnt"("x") AS (SELECT 1 UNION ALL SELECT "cnt"."x" + 1 FROM "cnt" LIMIT 10) SELECT "cnt"."x" FROM "cnt"
It should be recursive correct?