graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
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.

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

Create the update CTE.