graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.Backends.Postgres.Translate.Select.Connection

Description

This module defines the top-level translation functions pertaining to translating Connection (i.e. Relay) queries into Postgres AST.

Synopsis

Documentation

connectionSelectQuerySQL :: forall pgKind. (Backend ('Postgres pgKind), PostgresAnnotatedFieldJSON pgKind) => ConnectionSelect ('Postgres pgKind) Void SQLExp -> Query Source #

Translates IR to Postgres queries for "connection" queries (used for Relay).

See mkConnectionSelect for the Postgres AST.