If you have an existing PostgreSQL, MySQL or Sqlite database then you can import it automatically into Graphweaver using the import
command on the Graphweaver cli tool.
Using the command line tool we automatically inspect the database schema and create all the files needed to connect Graphweaver to the data source.
Import a PostgreSQL Database
To import a PostgreSQL database run:
npx graphweaver@latest import postgresql
For a more complete example take a look at connecting a PostgreSQL database page.
Import a MySQL Database
To import a MySQL database:
npx graphweaver@latest import mysql
For a more complete example take a look at connecting a MySQL database page.
Import a Sqlite Database
To import a Sqlite database:
npx graphweaver@latest import sqlite
For a more complete example take a look at connecting a SQLite database page.