Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
01-23-2022 08:37 AM
Hello , i am new to Cypher.
Is there something similar like Oracle EXECUTE IMMEDIATE to generate generic statements ?
Thanks br
01-24-2022 01:18 AM
This statement seems very similar to apoc.cypher.doIt
and apoc.cypher.run
,
present in the Apoc procedures.
For example you can do:
// .. query before
CALL apoc.cypher.run('RETURN $a + 7 as b', {a:3})
// .. query after
where RETURN $a + 7 as b
is the string statement and a: 3
is the $a parameter.
The apoc.cypher.doIt
is equal to apoc.cypher.run
but you can also run write statements.
All the sessions of the conference are now available online