Stored procedure

I have a simple doubt.

Can't we write stored procedure in cypher itself and use it like other SQL databases?

Is using Java the only option we have??

Thank you for this @benjamin_rood :slightly_smiling_face:.


Is using Java is the only option we have??


You can use APOC's declareProcedure and declareFunction:

Explanation: https://neo4j.com/labs/apoc/4.4/cypher-execution/cypher-based-procedures-functions/