Importing data into Graphcool requires two major steps:
+--------------+ +----------------+ +------------+
| +--------------+ | | | |
| | | | | | | |
| | SQL | | transform | NDF | chunked upload | Graphcool |
| | MongoDB | | +-----------> | | +-------------> | |
| | JSON | | | | | |
| | | | | | | |
+--------------+ | +----------------+ +------------+
+--------------+
As of today, the transform
step needs to be done manually by the developer. However, in the future, an automatic transformation from various data sources will be implemented for the Graphcool CLI's graphcool import
command.
In this issue, you can keep track and vote of the different source mappers that will be available.
To vote for a specific source mapper, just click on it in the poll below:
The poll is powered by the awesome GitHub polls
Any update on this?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.
Has there ever something grown out of this?
This is such important feature and now I see this,
prisma export
Warning: The `prisma export` command will not be further developed in the future. Please use the native export features of your database for these workflows.
More info here:
MySQL: https://dev.mysql.com/doc/refman/5.7/en/mysqlimport.html
Postgres: https://www.postgresql.org/docs/10/app-pgrestore.html
Downloading nodes 1535ms
Downloading lists 120ms
Downloading relations 1349ms
Zipping export... â¡¿
Zipping export 298ms
And the import says,
prisma import --data ~/backup.zip
Warning: The `prisma import` command will not be further developed in the future. Please use the native import features of your database for these workflows.
More info here:
MySQL: https://dev.mysql.com/doc/refman/5.7/en/mysqlimport.html
Postgres: https://www.postgresql.org/docs/10/app-pgrestore.html
Unzipping 136ms
Validating data 821ms
This is so misleading feature. On the document it says, it'll be developed further, but on the console it says it won't be developed anymore.
Most helpful comment
Any update on this?