Make custom procedure update result object

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

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.