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

Hasura.Backends.Postgres.Translate.Update

Description

Postgres Translate Update

Translates IR update to Postgres-specific SQL UPDATE statements.

Synopsis

Documentation

data UpdateCTE Source #

Constructors

Update TopLevelCTE

Used for update_table and update_table_by_pk.

MultiUpdate [TopLevelCTE]

Used for update_table_many.

Instances

Instances details
Show UpdateCTE Source # 
Instance details

Defined in Hasura.Backends.Postgres.Translate.Update

mkUpdateCTE :: forall pgKind. Backend ('Postgres pgKind) => AnnotatedUpdate ('Postgres pgKind) -> UpdateCTE Source #

Create the update CTE.