and then if one defines a file, for example
import/myRunFile.cyp and it contains the following content
the running via Cypher
will create the :Person node with id=123 and name=’Emil Eifrem’.
However if you want to provide more flexibility such that you pass in via parameters the values for
name this can be
accomplished by changing the contents of the import/myRunFile.cyp such that it is defined as
and then calling the apoc.cypher.runfile as follows