Skip to content

Ambiguous return message while creating a new node ($$ CREATE) #379

@RC-002

Description

@RC-002

Creating a new graph with the query "SELECT create_graph('demo_graph');" returns - "(1 row)" which assures me that the graph is created.

This is not consistent when I create a new node in the graph with the query "SELECT * FROM cypher('demo_graph', $$ CREATE (n:Person {name : "james", bornIn : "US"}) $$) AS (a agtype);" which returns "(0 rows)". This is ambiguous to me as an end-user whether the node is actually created or not.

To check whether the query was executed successfully or not, I searched for the inserted record with the query "SELECT * FROM cypher('demo_graph', $$ MATCH (v) RETURN v $$) as (v agtype);" . This returns the result set along with the newly added node. This shows me that the node was created successfully but the return message displays "(0 rows)".

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions