graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.Backends.Postgres.Translate.BoolExp

Description

Postgres Translate BoolExp

Convert IR boolean expressions to Postgres-specific SQL expressions.

Synopsis

Documentation

toSQLBoolExp Source #

Arguments

:: forall pgKind. Backend ('Postgres pgKind) 
=> Qual

The name of the tabular value in query scope that the boolean expression applies to

-> AnnBoolExpSQL ('Postgres pgKind)

The boolean expression to translate

-> BoolExp 

Translate an IR boolean expression to an SQL boolean expression. References to columns etc are relative to the given rootReference.