Skip to main content

Module schema

Module schema 

Source
Expand description

GraphQL schema generation from PostgreSQL schema cache.

Builds a dynamic GraphQL schema from the database schema cache, creating query and mutation types for each table.

Modules§

aggregate
Aggregate types.
object
Table to GraphQL ObjectType conversion.
relationship
Relationship to GraphQL field conversion.

Structs§

FederationEntity
A table exposed as an Apollo Federation entity.
FunctionField
A database function returning rows of a table, exposed as a root field.
GeneratedSchema
Represents a generated GraphQL schema.
MutationField
A mutation field for a table.
QueryField
A query field for a table (e.g., users, userByPk).
SchemaConfig
Configuration for schema generation.

Enums§

MutationType
Types of mutations.

Functions§

build_schema
Build a GraphQL schema from a schema cache.