Skip to main content
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.

Note

Hasura supports many types out of the box. For strings, Hasura can recognize and return UTF-8 encoded string types from your database.

If string-type columns in your database have an encoding other than UTF-8, unexpected values may be returned for queries made on those columns.

Explore schema