Closed esatterwhite closed 4 years ago
Indeed it would require to have its own 'with'
statement.
So right now CTEs are not supported by this library out of the box but PR are welcome :wink:
Well one or more ctes are legal on any SELECT
, UPDATE
or DELETE
statement. Would it make sense for each statement to implement a with function?
We're building something with this currently. There will probably be some code for a PR in the near future
Fixed in 4.1.0 release
I use common table expressions (
WITH
,WITH RECURSIVE
) pretty heavily with postgres. I'm not seeing a way to do this. Would this need to be a part of theselect
statement. or would it need to be apart of dialect.Something like that? It feels like it'd need to be its own statement and built into a dialect maybe?