Skip to content
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

proxy_as should always introduce a WITH clause #927

Open
cheerfulstoic opened this issue Aug 19, 2015 · 2 comments
Open

proxy_as should always introduce a WITH clause #927

cheerfulstoic opened this issue Aug 19, 2015 · 2 comments

Comments

@cheerfulstoic
Copy link
Contributor

Arguments against?

@subvertallchris
Copy link
Contributor

I think the with would cut off your access to identifiers earlier in the chain unless it also brings along the ids already declared, right? I often drop into Core::Query to express something in the DSL, write part of a query, and then proxy_as to get back to QueryProxy but ultimately pluck something from earlier in the chain.

@cheerfulstoic
Copy link
Contributor Author

I just noticed that you can do with('*'), which might seem pointless but it can allow you to make MATCH clauses when you've previously done OPTIONAL MATCHes.

We still need to dig into potential issues, but I wanted to note that while I was thinking of it ;)

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

No branches or pull requests

2 participants