Skip to main content
Version: v3.x (DDN)

Data Modeling

Introduction

Hasura DDN defines your API schema declaratively. An approach that centralizes all your data collections, operations, relationships, and permissions in one place. This makes it easy to organize, modify, secure, reason about, and grow the schema which represents your API.

Lifecycle

Hasura DDN uses data connectors to connect to your data sources.

Data connectors introspect the source to understand the source schema.

The DDN CLI uses the introspection results to generate the API schema metadata objects. This can also be done manually.

The metadata is then "built" by the DDN CLI into a format which the Hasura GraphQL engine can use to serve your API.

Data modeling lifecycle

Metadata Objects

There are many types of metadata objects which define your API, but the most important ones which form the backbone of your API are:

We will cover each of these in more detail in the following sections.