-
-
Notifications
You must be signed in to change notification settings - Fork 505
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
Improvement to the large query #10
Comments
Awesome contribution @AdrianVollmer - thank you! :-) I considered the use of Cypher variables before but the drawback I saw was that, the query utilising them might be unusable from Neo4j Web UI. That's why I opted for a tradeoff involving Find&Replace annoyance. With that said, what do you think about putting two separately designed queries next to each other, giving auditor's choice depending on his use case? Regards, |
In the web UI you can set parameters with this command before executing the query:
See https://neo4j.com/docs/cypher-manual/current/syntax/parameters/ I mean, you need to find and replace the domain name anyway. Not many domains are named contoso.local ;) might as well replace I leave it up to you, maybe try it out a few times. |
Didn't know it's possible to define params in web UI, that might in fact be far easier approach! Looks cool to me. I'm gonna test it out in a spare minute and add it to the collection. Thank you @AdrianVollmer - really appreciate it :-) |
Very interesting approach. I made some improvements.
'
with"
to be consistent, so we can easily put the query inside quotes.Result:
The text was updated successfully, but these errors were encountered: