Looking for the Prisma documentation? You can find it here

Database

Last updated a day ago Edit this page

#What kind of database is Graphcool using?

Graphcool is based on SQL. The hosted version of Graphcool uses an instance of AWS Aurora under the hood. When running a self-hosted version of Graphcool, you can also use MySQL.

#Can I use my own database with Graphcool?

Yes, in the self-hosted version you can "bring your own database". Right now the choices of databases is limited though as only MySQL is supported. It is however planned to support more database systems in the future.

#Can I perform reads and writes directly against the database when using Graphcool?

No, Graphcool abstracts away the database layer and does not expose any direct interfaces towards the database.

#Do I need an ORM when using Graphcool?

No, Graphcool's GraphQL engine effectively takes the role of what would be considered an ORM in Graphcool's architecture (though technically that's not 100% accurate). It retrieves the data from the database and exposes it through the API.

Was this page helpful?

Recommended