age-website icon indicating copy to clipboard operation
age-website copied to clipboard

Error in Syntax of Create vertex and add labels and properties

Open muneebkhan4 opened this issue 2 years ago • 0 comments

Current Syntax:

SELECT * 
FROM cypher('graph_name', $$
    CREATE (:Person {name: 'Andres', title: 'Developer')
$$) as (n agtype);

'}' is missing

Correct Syntax:

SELECT * 
FROM cypher('graph_name', $$
    CREATE (:Person {name: 'Andres', title: 'Developer'})
$$) as (n agtype);

muneebkhan4 avatar Jan 05 '23 11:01 muneebkhan4