HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Moduleopaleye-0.10.8.0Haskell2010

Opaleye.Select

A Select represents an SQL SELECT statement. To run a Select use the functions in Opaleye.RunSelect. To create a Select you probably want to start by querying one of your Opaleye.Table.Tables using selectTable. SelectArr is a parametrised version of Select, i.e. it can be passed arguments.

Synopsis
  • Packageopaleye-0.10.8.0
  • Exports2
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceSelect.hs
typetype Select = SelectArr ()

A SELECT, i.e. an SQL query which produces a collection of rows.

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

newtypenewtype SelectArr a b

A parametrised Select. A SelectArr a b accepts an argument of type a.

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

Instances9Arrow, ArrowApply, ArrowChoice, Profunctor, ProductProfunctor, Category, …