neo4j-contrib / neo4j-apoc-procedures

Awesome Procedures On Cypher for Neo4j - codenamed "apoc"                     If you like it, please ★ above ⇧            
https://neo4j.com/labs/apoc
Apache License 2.0
1.72k stars 493 forks source link

The neo4j 3.5 version apoc.create.vRelationship does not return edge attributes #4198

Closed wuning159 closed 1 month ago

wuning159 commented 1 month ago

I expect to retrieve the edge attributes of the virtual relationship created.

The apoc.create.vRelationship does not return the edge attributes as expected.

cypher

MATCH (first1:ent {nodeid: 'aab40c4d65d5c0a428ed84dc0109b0c4'}) MATCH (first2:ent {nodeid: '000415fee2b0272cdcc2439f521b2e2e'}) CALL apoc.create.vRelationship(first1, 'teninvmerge', {conprop: '11'}, first2) YIELD rel RETURN rel, rel.conprop

Steps (Mandatory) Create two nodes with specified nodeid. Run the apoc.create.vRelationship command. Try to return the properties of the created virtual relationship. Screenshots (where it's possible) Include any relevant screenshots if applicable.

Versions OS: linux Neo4j: 3.5.16 Neo4j-Apoc: 3.5.11 image