opaleye-0.5.0.0: An SQL-generating DSL targeting PostgreSQL

Safe HaskellNone
LanguageHaskell98

Opaleye.QueryArr

Description

This modules defines the QueryArr arrow, which is an arrow that represents selecting data from a database, and composing multiple queries together.

Synopsis

Documentation

data QueryArr a b Source

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

type Query = QueryArr () Source

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