cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

How to write a GraphQL query from the cypher query example point.distance()?

jcct100
Node Clone
Can someone please show me how to write a graphQL query from this cypher query as an example?
 
WITH
  point({longitude: 12.78, latitude: 56.7, height: 100}) AS p1,
  point({latitude: 56.71, longitude: 12.79, height: 100}) AS p2
RETURN point.distance(p1, p2) AS dist
0 REPLIES 0