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.

make custom procedure update result object

kaptenh
Node Clone

Hi!

I am writing a custom procedure to make my insertions into neo4j easier. 

I will be calling it from python, and it would be nice to get result summary counters to say how many nodes where created, properties updated and so on, but stuff that i taking place in the procedure isnt reflected in the result.

Is there anythin I can do in my java code to make the result contain the stats about what the procedure did?

 

Thanks

1 REPLY 1

You can track stats of what you are doing in the procedure, I.e., how many nodes and relationships were created and how long it took to execute the procedure. These stats could be added to your result as a map, so they are available to the caller.