Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Postgres Translate Update
Translates IR update to Postgres-specific SQL UPDATE statements.
Synopsis
- data UpdateCTE
- mkUpdateCTE :: forall pgKind. Backend ('Postgres pgKind) => AnnotatedUpdate ('Postgres pgKind) -> UpdateCTE
Documentation
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.