LinuxJedi opened a new issue #88:
URL: https://github.com/apache/incubator-age/issues/88


   I'm probably doing something wrong here, but for some reason I cannot get 
data created in a transaction to be seen in the same transaction. It is only 
seen after commit. For example:
   
   ```sql
   cmdb=# begin;
   BEGIN
   cmdb=*# SELECT * FROM cypher('cmdb', $$ CREATE (a:Part {part_num: '678'}) 
$$) as (a agtype);
    a 
   ---
   (0 rows)
   cmdb=*# SELECT * FROM cypher('cmdb', $$ MATCH (a:Part {part_num: '678'}) 
RETURN a $$) as (a agtype);
    a 
   ---
   (0 rows)
   cmdb=*# commit;
   COMMIT
   cmdb=# SELECT * FROM cypher('cmdb', $$ MATCH (a:Part {part_num: '678'}) 
RETURN a $$) as (a agtype);
                                             a                                  
        
   
-------------------------------------------------------------------------------------
    {"id": 844424930131973, "label": "Part", "properties": {"part_num": 
"678"}}::vertex
   (1 row)
   ```
   
   Am I doing something wrong here or is this a bug?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to