postgrest-7.0.1: REST API for any Postgres database

Safe HaskellNone
LanguageHaskell2010

PostgREST.Statements

Description

This module constructs single SQL statements that can be parametrized and prepared.

  • It consumes the SqlQuery types generated by the QueryBuilder module.
  • It generates the body format and some headers of the final HTTP response.

TODO: Currently, createReadStatement is not using prepared statements. See https://github.com/PostgREST/postgrest/issues/718.

Documentation