bitnine-oss / agensgraph

AgensGraph, a transactional graph database based on PostgreSQL
http://www.agensgraph.org
Other
1.34k stars 149 forks source link

[AgensBrowser] does not return relations by default #472

Open mdobri opened 5 years ago

mdobri commented 5 years ago

agensbrowser_query agensbrowser_verifydata neo4j_query

joefagan commented 5 years ago

AgensBrowser displays only what the return specifies match (a)-[..5]-(b) where a.name='A' return ; will return only a and b, both nodes, no edges, since both a and b are nodes

match (a)-[r]-(b) return *; will return both nodes and edges because r is included in the return

To get AgensBrowser to display your path of up to 5 nodes you should use
match p=()-[*..5]->() return p;

Be aware there was an issue in AgensGraph 1.0 with variable length path syntax

You should upgrade to the latest version of AgensGraph and AgensBrowser https://bitnine.net/agensgraph-downloads/ or github https://github.com/bitnine-oss/agensgraph.

Then match p=(a)-[*..5]-() where a.name = 'A' return p; will give you the expected result as shown

image

mdobri commented 5 years ago

Thanks, the syntax brings me a step further, but now facing issue #429 instead. Seems I have to wait for the next release

ghost commented 5 years ago

@mdobri The problem has been solved at #463, you just need to install AgensGraph from

rahul181tomar commented 4 years ago

@mdobri Please,Can you tell me configuration of agens graph browser? I am getting exception northwind_graph db not matching when i am starting my agensbrowser at linux shell.