Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-09-2022 09:28 AM
I want to display nodes and their relationship in particular format
[
{
'ID' : 1,
'VM_CODE' : '',
'VIRTUAL_MACHINE': '',
'OPERATING_SERVICE': '',
'SIZE' : '',
'CPU' : '',
'Memory' : '',
'Disks' : '',
'SERVICE_NAME' : '',
'SERVICE_CODE' : '',
'TASK_MEMORY' : '',
'TASK_CPU' : '',
'ENV_CODE' : '',
'ENV_PORT_NO' : '',
'SERVICE_PORT_NO' : '',
'SERVICE_PORT_ID' : '',
'TASK_TYPE' : '',
'PARENT_ID' : 0
}]
but after executing this code I am getting data in different format
code-
in this 4 is a node and 5,6,7,8, are the relations of it if data exist then it should display otherwise blank
the data should be in this format-->
09-09-2022 01:09 PM
It looks like a single VM has multiple services running on it. Do you want to have a row for each service and have the VM details repeat for each service? If a VM has zero services, then have a row for that VM, but have null values for the service properties?
Can you provide the properties for each entity? What does you output look like now? Which driver language is your code from?
All the sessions of the conference are now available online