summaryrefslogtreecommitdiff
path: root/src/client/view/node_info.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-12-22 20:20:52 +0200
committerAlon Levy <alon@pobox.com>2014-12-22 20:20:55 +0200
commit89be53c7ebc6d05b3c7bd0ad2ef435b0630a5ca4 (patch)
tree001150322df7cbc858aca7997475de361a960f20 /src/client/view/node_info.js
parent631e00d723b0b54c61b94f6c06ae4a73e1770c25 (diff)
server: link attribute updates
Tested for name changes only, with the next commit's client side change. Notes: uses more than a single query to change each link's name. Since we use label's, and neo4j is finniky about them, we must: 1. create a new link with copied properties (for future proofing, we use none at the moment) 2. delete the old link. Cannot do those in the same statement, the following results in a Neo4j error: match a-[l]->b create a-[l2:Poo]->b set l2=l delete l "errors": [ { "code": "Neo.DatabaseError.Statement.ExecutionFailure", "message": "Relationship 13 has been deleted", "stackTrace": <snip> } ]
Diffstat (limited to 'src/client/view/node_info.js')
0 files changed, 0 insertions, 0 deletions