opaleye-0.6.7003.1: An SQL-generating DSL targeting PostgreSQL

Safe HaskellNone
LanguageHaskell2010

Opaleye.Select

Description

Select and SelectArr are the composable units of database querying that are used in Opaleye.

Synopsis

Documentation

type Select = SelectArr () Source #

A Postgres SELECT, i.e. some functionality that can run via SQL and produce a collection of rows.

Select a is analogous to a Haskell value [a].

type SelectArr = QueryArr Source #

SelectArr a b is analogous to a Haskell function a -> [b].