You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by "KamleshKumar427 (via GitHub)" <gi...@apache.org> on 2023/07/03 18:54:51 UTC
[GitHub] [age] KamleshKumar427 opened a new pull request, #1011: [Age Viewer Go] Output formate change as required in the frontend
KamleshKumar427 opened a new pull request, #1011:
URL: https://github.com/apache/age/pull/1011
Output formate change as required in the front end:
Now output format for a query like: " SELECT * from cypher('test_graph', $$ MATCH (V)-[R]-(V2) RETURN V,R,V2 $$) as (V agtype, R agtype, V2 agtype);" is:
```
{
"rows": [
{
"r": {
"end_id": 844424930131970,
"id": 1125899906842625,
"label": "Edge",
"properties": {
"type": "Edge 1"
},
"start_id": 844424930131969
},
"v": {
"id": 844424930131969,
"label": "Node",
"properties": {
"name": "Node 1"
}
},
"v2": {
"id": 844424930131970,
"label": "Node",
"properties": {
"name": "Node 2"
}
}
},
{
"r": {
"end_id": 844424930131970,
"id": 1125899906842625,
"label": "Edge",
"properties": {
"type": "Edge 1"
},
"start_id": 844424930131969
},
"v": {
"id": 844424930131970,
"label": "Node",
"properties": {
"name": "Node 2"
}
},
"v2": {
"id": 844424930131969,
"label": "Node",
"properties": {
"name": "Node 1"
}
}
},
{
"r": {
"end_id": 844424930131972,
"id": 1125899906842626,
"label": "Edge",
"properties": {
"type": "Edge 2"
},
"start_id": 844424930131971
},
"v": {
"id": 844424930131971,
"label": "Node",
"properties": {
"name": "Node 3"
}
},
"v2": {
"id": 844424930131972,
"label": "Node",
"properties": {
"name": "Node 4"
}
}
},
{
"r": {
"end_id": 844424930131972,
"id": 1125899906842626,
"label": "Edge",
"properties": {
"type": "Edge 2"
},
"start_id": 844424930131971
},
"v": {
"id": 844424930131972,
"label": "Node",
"properties": {
"name": "Node 4"
}
},
"v2": {
"id": 844424930131971,
"label": "Node",
"properties": {
"name": "Node 3"
}
}
}
],
"columns": [
"v",
"r",
"v2"
],
"rowCount": 4,
"command": "SELECT"
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@age.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [age] saadjameel commented on pull request #1011: [Age Viewer Go] Output formate change as required in the frontend
Posted by "saadjameel (via GitHub)" <gi...@apache.org>.
saadjameel commented on PR #1011:
URL: https://github.com/apache/age/pull/1011#issuecomment-1630530948
@aked21 Please merge
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@age.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [age] aked21 merged pull request #1011: [Age Viewer Go] Output formate change as required in the frontend
Posted by "aked21 (via GitHub)" <gi...@apache.org>.
aked21 merged PR #1011:
URL: https://github.com/apache/age/pull/1011
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@age.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [age] AhmarZaidi commented on pull request #1011: [Age Viewer Go] Output formate change as required in the frontend
Posted by "AhmarZaidi (via GitHub)" <gi...@apache.org>.
AhmarZaidi commented on PR #1011:
URL: https://github.com/apache/age/pull/1011#issuecomment-1619774080
@KamleshKumar427 Looks good. Great work.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@age.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org