postgrest-5.1.0: REST API for any Postgres database

Safe HaskellNone
LanguageHaskell2010

PostgREST.QueryBuilder

Description

This module provides functions to consume data types that represent database objects (e.g. Relation, Schema, SqlQuery) and produces SQL Statements.

Any function that outputs a SQL fragment should be in this module.

Synopsis

Documentation

type ResultsWithCount = (Maybe Int64, Int64, [ByteString], ByteString) Source #

The generic query result format used by API responses. The location header is represented as a list of strings containing variable bindings like "k1=eq.42", or the empty list if there is no location header.