postgrest-9.0.0: REST API for any Postgres database
Safe HaskellNone
LanguageHaskell2010

PostgREST.DbStructure

Description

This module contains queries that target PostgreSQL system catalogs, these are used to build the schema cache(DbStructure).

The schema cache is necessary for resource embedding, foreign keys are used for inferring the relationships between tables.

These queries are executed once at startup or when PostgREST is reloaded.

Documentation

data DbStructure Source #

Instances

Instances details
Generic DbStructure Source # 
Instance details

Defined in PostgREST.DbStructure

Associated Types

type Rep DbStructure :: Type -> Type #

ToJSON DbStructure Source # 
Instance details

Defined in PostgREST.DbStructure

type Rep DbStructure Source # 
Instance details

Defined in PostgREST.DbStructure