2020-01-14 15:57:45 +03:00
|
|
|
.. meta::
|
|
|
|
:description: Manage GraphQL schema with Hasura
|
|
|
|
:keywords: hasura, docs, schema
|
|
|
|
|
2020-03-11 22:42:36 +03:00
|
|
|
.. _schema:
|
|
|
|
|
2018-09-11 14:11:24 +03:00
|
|
|
Schema
|
|
|
|
======
|
|
|
|
|
2018-12-03 15:12:24 +03:00
|
|
|
.. contents:: Table of contents
|
|
|
|
:backlinks: none
|
|
|
|
:depth: 1
|
|
|
|
:local:
|
|
|
|
|
2019-09-11 10:17:14 +03:00
|
|
|
The Hasura GraphQL engine automatically generates your GraphQL schema and resolvers based on your tables/views
|
2019-01-04 20:25:48 +03:00
|
|
|
in Postgres. **You don't need to write a GraphQL schema or resolvers.** See
|
2020-03-11 22:42:36 +03:00
|
|
|
:ref:`How Hasura GraphQL engine works <how_it_works>` for more details.
|
2018-09-11 14:11:24 +03:00
|
|
|
|
2019-05-17 15:03:35 +03:00
|
|
|
The Hasura console gives you UI tools that speed up your data-modelling process, or working with your existing database.
|
2018-09-11 14:11:24 +03:00
|
|
|
The console also automatically generates migrations or metadata files that you can edit directly and check into your
|
|
|
|
version control.
|
|
|
|
|
2019-09-11 10:17:14 +03:00
|
|
|
The Hasura GraphQL engine lets you do anything you would usually do with Postgres by giving you GraphQL over native
|
2018-09-11 14:11:24 +03:00
|
|
|
Postgres constructs.
|
|
|
|
|
2018-12-03 15:12:24 +03:00
|
|
|
**See:**
|
2018-09-11 14:11:24 +03:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
2020-10-13 14:07:46 +03:00
|
|
|
Tables basics <tables>
|
2020-07-08 00:47:42 +03:00
|
|
|
Table relationships <table-relationships/index>
|
|
|
|
Remote relationships <remote-relationships/index>
|
2020-04-27 22:02:15 +03:00
|
|
|
Extend with views <views>
|
|
|
|
Extend with SQL functions <custom-functions>
|
2018-11-06 11:37:17 +03:00
|
|
|
Default field values <default-values/index>
|
2020-04-27 22:02:15 +03:00
|
|
|
enums
|
2019-10-18 11:29:47 +03:00
|
|
|
computed-fields
|
2019-12-26 15:05:37 +03:00
|
|
|
custom-field-names
|
2020-04-27 22:02:15 +03:00
|
|
|
data-validations
|
2018-09-11 14:11:24 +03:00
|
|
|
Using an existing database <using-existing-database>
|
|
|
|
Export GraphQL schema <export-graphql-schema>
|
2020-06-23 23:08:41 +03:00
|
|
|
relay-schema
|