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

Hasura.Backends.DataConnector.Plan

Synopsis

Documentation

data QueryPlan Source #

Constructors

QueryPlan 

Fields

renderQuery :: QueryRequest -> Text Source #

Extract the Q from a Plan and render it as Text.

NOTE: This is for logging and debug purposes only.

queryHasRelations :: QueryRequest -> Bool Source #

Validate if a Q contains any relationships.

data Cardinality Source #

Constructors

Single 
Many 

encodeAssocListAsObject :: [(Text, Encoding)] -> Encoding Source #