summaryrefslogtreecommitdiff
path: root/src/server/db_controller.py
AgeCommit message (Collapse)Author
2014-12-23DB_Contrller: don't use private sub_op_set, use __iter__Alon Levy
2014-12-23db_controller: use enumerate to save a lineAlon Levy
2014-12-23db_controller: spell out the word transaction in commentAlon Levy
2014-12-23follow n,m convention on cypher queriesLV-426
2014-12-23support space containing label setting on linksLV-426
2014-12-23add_link_rename_statements(): improve readabilityLV-426
2014-12-23rm unused node labelingLV-426
2014-12-23rm quote, fix logical bug: continue processing other links + miscLV-426
2014-12-23fix quoteLV-426
2014-12-23mv attr_diff.link.name assertion to Attr_Diff constructorLV-426
2014-12-23improve assert readabilityLV-426
2014-12-22server: link attribute updatesAlon Levy
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> } ]
2014-12-22DBO_rz_clone: assert instead of triggering AttributeError on missing idAlon Levy
2014-12-16moving files around after repository mergerAlon Levy