Skip to content

Add postgress nested with clause #361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

MathewJoseph31
Copy link
Contributor

Nested With Clauses, so that they can be of the form

WITH A as (
WITH B AS (
WITH C AS (
.
.
)
)
)

supported by latest DB versions, eg. postgres is not currently supported by the parser

@wumpz
Copy link
Member

wumpz commented Mar 15, 2017

Sorry to get here so late. Please provide only one change per Pr. It makes the review easier. I will do a squashed merge in the end.

@manticore-projects
Copy link
Contributor

The Nested With Items implementation has been succeeded by PR #1754.

@wumpz
Copy link
Member

wumpz commented Apr 27, 2023

So this can be closed, right?

@manticore-projects
Copy link
Contributor

Please leave, i will try to salvage the other parts!

@manticore-projects
Copy link
Contributor

Sorry, but this thing is too messy to salvage. I will close it but you can re-submit when there is any serious interest.

@@ -1723,6 +1737,9 @@ Expression RegularCondition():
| token=<OP_MINORTHANEQUALS> { result = new MinorThanEquals(token.image); }
| token=<OP_NOTEQUALSSTANDARD> { result = new NotEqualsTo(token.image); }
| token=<OP_NOTEQUALSBANG> { result = new NotEqualsTo(token.image); }
| token=<OP_DOUBLEAND> { result = new DoubleAnd(token.image); }
| token=<OP_CONTAINS> { result = new DoubleAnd(token.image); }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why create new DoubleAnd for the tokens OP_CONTAINS or OP_CONTAINEDBY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants