You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please note that GitHub issues are only meant for bug reports/feature requests. If you have questions on how to use APOC, please ask on the Neo4j Discussion Forum instead of creating an issue here.
Expected Behavior (Mandatory)
Need to export relationship with properties BUT without node properties using apoc.export.json.query.
in 4.4.0.6:
Query:
CALL apoc.export.json.query("MATCH (n)-[r:vmanagedbDEVICE]->(m) return r, n._rid as nid, m._rid as mid", "/Users/abhsinh2/4_4_0_6.json",{writeNodeProperties:false}) YIELD file, nodes, relationships, properties, time, done RETURN file, nodes, relationships, properties, time, done;
In output of 4.4.0.6, properties of relationship is exported without start and end node properties. Same query is executed on 4.4.0.16, relationship properties are missing.
Actual Behavior (Mandatory)
For apoc.export.json.query, we need to two options, withNodeProperties and withRelationshipProperties
How to Reproduce the Problem
Simple Dataset (where it's possibile)
CALL apoc.export.json.query("MATCH (n)-[r:vmanagedbDEVICE]->(m) return r, n._rid as nid, m._rid as mid", "/Users/abhsinh2/4_4_0_16.json",{writeNodeProperties:false}) YIELD file, nodes, relationships, properties, time, done RETURN file, nodes, relationships, properties, time, done;
Steps (Mandatory)
Execute above query and look for relationship properties.
Screenshots (where it's possibile)
Specifications (Mandatory)
Neo4j 4.4.5 and apoc 4.4.0.16
Currently used versions
Versions
OS: Mac
Neo4j: 4.4.5
Neo4j-Apoc: 4.4.0.16
The text was updated successfully, but these errors were encountered:
Guidelines
Please note that GitHub issues are only meant for bug reports/feature requests. If you have questions on how to use APOC, please ask on the Neo4j Discussion Forum instead of creating an issue here.
Expected Behavior (Mandatory)
Need to export relationship with properties BUT without node properties using apoc.export.json.query.
in 4.4.0.6:
Query:
CALL apoc.export.json.query("MATCH (n)-[r:vmanagedbDEVICE]->(m) return r, n._rid as nid, m._rid as mid", "/Users/abhsinh2/4_4_0_6.json",{writeNodeProperties:false}) YIELD file, nodes, relationships, properties, time, done RETURN file, nodes, relationships, properties, time, done;
Output:
{"r":{"id":"9","type":"relationship","label":"vmanagedbDEVICE","properties":{"_rid":"0:Device:1680771843153:10","linkKey":"28a910ba-79a1-47c8-8413-80fbe8c7e46e"},"start":{"id":"115","labels":["vmanagedbDEVICENODE"]},"end":{"id":"112","labels":["vmanagedbSYSTEMDEVICESNODE"]}},"nid":"0:DeviceNode:1680771842511:116","mid":"0:SystemDevicesNode:1680771841881:113"}
In 4.4.0.16:
Query: CALL apoc.export.json.query("MATCH (n)-[r:vmanagedbDEVICE]->(m) return r, n._rid as nid, m._rid as mid", "/Users/abhsinh2/4_4_0_16.json",{writeNodeProperties:false}) YIELD file, nodes, relationships, properties, time, done RETURN file, nodes, relationships, properties, time, done;
Output:
{"r":{"type":"relationship","id":"32811","label":"vmanagedbDEVICE","start":{"id":"0","labels":["vmanagedbDEVICENODE"]},"end":{"id":"22242","labels":["vmanagedbSYSTEMDEVICESNODE"]}},"nid":"0:DeviceNode:1665724710793:28","mid":"0:SystemDevicesNode:1665726581704:21969"}
In output of 4.4.0.6, properties of relationship is exported without start and end node properties. Same query is executed on 4.4.0.16, relationship properties are missing.
Actual Behavior (Mandatory)
For apoc.export.json.query, we need to two options, withNodeProperties and withRelationshipProperties
How to Reproduce the Problem
Simple Dataset (where it's possibile)
Steps (Mandatory)
Screenshots (where it's possibile)
Specifications (Mandatory)
Neo4j 4.4.5 and apoc 4.4.0.16
Currently used versions
Versions
The text was updated successfully, but these errors were encountered: