I’m having an issue with SQLDelight and CTEs — ess...
# squarelibraries
e
I’m having an issue with SQLDelight and CTEs — essentially it seems like SQLDelight isn’t finding the table alias of the CTE in the list of available tables. Example:
Copy code
WITH cte AS (SELECT name FROM foo)
SELECT cte.name,
       COUNT(cte.name LIKE ?);
Yields error:
Copy code
No table found with name cte