-
Notifications
You must be signed in to change notification settings - Fork 135
Relationship properties
rdvdijk edited this page Sep 26, 2012
·
1 revision
@neo.set_relationship_properties(rel1, {"weight" => 200}) # Set a relationship's properties
@neo.reset_relationship_properties(rel1, {"age" => 31}) # Reset a relationship's properties
@neo.get_relationship_properties(rel1) # Get just the relationship properties
@neo.get_relationship_properties(rel1, ["since","met"]) # Get some of the relationship properties
@neo.remove_relationship_properties(rel1) # Remove all properties of a relationship
@neo.remove_relationship_properties(rel1, "since") # Remove one property of a relationship
@neo.remove_relationship_properties(rel1, ["since","met"]) # Remove multiple properties of a relationship