Is it possible to run queries in mgconsole
non-interactively? I know that I can use a file that has query in it and redirect it, mgconsole < test.txt
. I would like to avoid creating a file on a filesystem.
How can I pass Cypher query to mgconsole
?