Skip to content

Commit

Permalink
fixed id stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnnsrs committed Aug 19, 2024
1 parent 33118e6 commit a22125f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/age.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def create_age_entity(graph_name, kind_name, entity_id):
SELECT *
FROM cypher(%s, $$
CREATE (n:{kind_name})
RETURN n.id
RETURN id(n)
$$) as (id agtype);
""",
(graph_name,)
Expand Down Expand Up @@ -91,7 +91,7 @@ def select_all_entities(graph_name):
SELECT *
FROM cypher(%s, $$
MATCH (n)
RETURN n.id
RETURN id(n)
$$) as (id agtype);
""",
[graph_name]
Expand Down

0 comments on commit a22125f

Please sign in to comment.