Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
11-14-2018 07:40 AM
When I call a user-defined procedure that mutates the graph using the transactional http endpoint, the returned "stats" field doesn't reflect any of the changes that happened. For instance, when I call a procedure that deletes nodes and relationships, I get back:
{"results":[{"columns":,"data":,"stats":{"contains_updates":false,"nodes_created":0,"nodes_deleted":0,"properties_set":0,"relationships_created":0,"relationship_deleted":0,"labels_added":0,"labels_removed":0,"indexes_added":0,"indexes_removed":0,"constraints_added":0,"constraints_removed":0}}],"errors":}
Is there a way I can write my stored procedures so that information about changes shows up in the returned json?
11-15-2018 06:21 AM
That's expected. Procedures don't contribute to the internal counters managed by cypher. They are mostly a black box for Cypher.
All the sessions of the conference are now available online