imranzaheer612 commented on issue #381:
URL: https://github.com/apache/age/issues/381#issuecomment-1345551462

   I think it is done using the Postgres relational tables. 
   The `ag_graph` and `ag_label` is stored as a relation under `ag_catalog` 
scheme
   
   ```
   demo=# \dt
              List of relations
      Schema   |   Name   | Type  | Owner 
   ------------+----------+-------+-------
    ag_catalog | ag_graph | table | imran
    ag_catalog | ag_label | table | imran
    public     | company  | table | imran
    public     | employee | table | imran
   (4 rows)
   ```
   
   As you can see that my new graph `cypher` is stored as schema. The `id` and 
`properties` data of the nodes is saved in the table name `_ag_label_vertex`. 
   
   
![working](https://user-images.githubusercontent.com/62287456/206905292-8cbc958c-9840-42f7-aa3e-fa5890fe6912.png)
   
   So I think it will be like, first we parse the `cypher` function and then 
perform corresponding psql operations defined. 
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@age.apache.org

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

Reply via email to