HORIZON HASKELLDocslts/ghc-10.0.x8c2f8e82026-10-19Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8c2f8e8 · 2026-10-19

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.

  • 2 types
  • 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, …