The browser sends a secondary query afterwards, when the "Auto-Complete" 
feature is turned on.


MACH (n)-[r]-(m)
WHERE id(n) IN {ids} AND id(m) IN {ids}
RETURN r

Michael

> Am 27.12.2015 um 03:05 schrieb Miguel Michelsongs <[email protected]>:
> 
> Hello ,  noob here
> 
> I'm running a simple query which in the browser admin I've note that the json 
> response are expanded the neighboring graph around the results. This is what 
> I want to do in my app but I don't get the same output as running the query 
> in the Neo4j Browser.
> 
> I've the following: 
> 
> MATCH (n:Institution{db_id: 70})
>               OPTIONAL MATCH (n)-[r]-(a)
>               return n,r,a
> 
> How can I achive the same response as in Neo4j browser ?
> 
> This is possible only with Cypher ? I'm using N4J with ruby (neography) by 
> the way
> 
> best regards
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to