Database

The Fuel Indexer uses Postgres as the database on the data layer.

  • Types
    • How to use different data types from your Sway contract, all the way to your Postgres table
  • Conventions
    • Some of the conventions used in the Fuel Indexer's data layer
  • Foreign Keys
    • How foreign keys are handled in GraphQL schema, Postgres, and SQLite
  • Directives
    • How GraphQL schema directives are translated into data-layer constraints