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

Passing a Query as a Command Line Param #1995

Open
sashokbg opened this issue Mar 3, 2025 · 1 comment
Open

Passing a Query as a Command Line Param #1995

sashokbg opened this issue Mar 3, 2025 · 1 comment

Comments

@sashokbg
Copy link

sashokbg commented Mar 3, 2025

Hello, it would be very useful for demonstrations and script automatisation to be able to pass queries as command line parameter.

Example http://localhost:7474/browser/?query=""

I do understand there are some security implications behind that but it might be easy to restrict it only to localhost to avoid accidentally running a query in prod

@OskarDamkjaer
Copy link
Contributor

You should be able to pass ?cmd=edit&arg=yourqueryhere to prepopulate the editor, at least in the preview version of Neo4j Browser. We don't want to make assumptions about if the user in production or not, so we don't support automatically running it for the security concerns you outline

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