DEV Community

Jawad Ali Abbasi
Jawad Ali Abbasi

Posted on

Creating A Graph | Apache AGE

Hi Guys!

This is going to be a short one. We are just going to see how to create a graph in the database.

This is a simple procedure and just requires to run a command and provide with the graph name.

So run the following command in psql.

SELECT create_graph('demo');

Now for successful creation, it will display a success message and since we have also used the SELECT command, it will also return the initial state of the graph which would only contain 1 empty row.

We are going to see how to use cypher queries to manipulate graphs in the next blog.

https://age.apache.org/
https://github.com/apache/age

See you there!

Top comments (0)