cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Create a external function that returns Cypher code

Hello!

I'm working with a JSON and cypher commands to import it, but I have a question:

Can I create an external function, for example in Pyhton, that returns a text with a Cypher command?

I mean, I create a Cypher command to import the JSON, which has inside a line that is calling an external function, that adds some Cypher lines to the command.

Thank you!

1 ACCEPTED SOLUTION
5 REPLIES 5

Hello,

I think you are looking for this: https://neo4j.com/docs/api/python-driver/current/index.html

Thank you!! I will take a look to that article

The Neo4j Python driver allows you to write the CYpher request as a string and to send it to your Neo4j Database and to get the result:)

I've done it! I read what you said on my mail, I was without internet for a few days, but now is marked as the solution!

Hello @gorkasalauniversidad,

I'm happy to hear that, good job!