Postgres: Schema

Hasura GraphQL Docs

  • Schema

  • Postgres

Version: v2.x

Schema

Introduction

The Hasura GraphQL Engine automatically generates your GraphQL schema and resolvers based on your tables/views in your database. You don't need to write a GraphQL schema or resolvers. See How Hasura GraphQL Engine works for more details.

The Hasura Console gives you UI tools that speed up your data-modeling process, or working with your existing database. The Console also automatically generates Migrations or Metadata files that you can edit directly and check into your version control.

The Hasura GraphQL Engine lets you do anything you would usually do with your database by giving you GraphQL over native constructs.

See:

  • Tables basics

  • Table relationships

  • Remote relationships

  • Extend with views

  • Extend with SQL functions

  • Default field values

  • Enum type fields

  • Computed fields

  • Customize auto-generated fields

  • Data validations

  • Using an existing database

  • Relay schema

  • Naming convention

Databases

Introduction

The Hasura GraphQL Engine automatically generates your GraphQL schema and resolvers based on tables/views in your database . You don't need to write a GraphQL schema or resolvers. See How Hasura GraphQL Engine works for more details.

The Hasura Console gives you UI tools that speed up your data-modeling process, or working with your existing databases. The Console also automatically generates Migrations or Metadata files that you can edit directly and check into your version control.

What did you think of this doc?

PreviousSchemaNextTables basics

Last updated