Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-29-2020 07:19 PM
Neo4j 3.5.22
Cypher-Shell 1.1.13
I am running multiple queries that require one or more parameters using scripts, against large datasets and using cypher-shell.
Queries that require a single parameter run fine with this command:
{ echo ":param param_name=>param_val" ; cat example.cypher; } | /bin/cypher-shell -u neo4j -p pass
My attempt to pass multiple parameters returns no output and no errors. Here is the command I use:
{ echo ":param param1=>param1_val :param param2=>param2_val" ; cat example.cypher; } | /bin/cypher-shell -u neo4j -p pass
I have not found any approach that addresses passing multiple params.
Am I missing something?
10-30-2020 04:12 AM
I finally got this to work with a minor change.
If anyone runs into a similar issue, the following command is working fine for me:
{ echo ":param param1=>param1_val" ; echo ":param param2=>param2_val"; cat example.cypher ; } | bin/cypher-shell -u neo4j -p pass
All the sessions of the conference are now available online