postgrest-8.0.0: REST API for any Postgres database
Safe HaskellNone
LanguageHaskell2010

PostgREST.App

Description

This module is in charge of mapping HTTP requests to PostgreSQL queries. Some of its functionality includes:

  • Mapping HTTP request methods to proper SQL statements. For example, a GET request is translated to executing a SELECT query in a read-only TRANSACTION.
  • Producing HTTP Headers according to RFCs.
  • Content Negotiation
Synopsis

Documentation

postgrest :: LogLevel -> AppState -> IO () -> Application Source #

PostgREST application