Recursive CTEs

Is it possible to use recursive CTEs with Drizzle ORM (WITH RECURSIVE MySQL statement)?
2 Replies
Mario564
Mario5645mo ago
It's currently not possible in a type-safe way, but you can use the sql template literal to build your query. There's a PR on Github about adding with recursive to Drizzle
rdobovic
rdobovicOP5mo ago
Ok, thank you for your response, I will look into it.
Want results from more Discord servers?
Add your server