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

Modulebeam-core-0.11.1.0Haskell2010

Database.Beam.Backend.SQL

  • 43 types
  • 3 classes
classclass (BeamBackend be, Monad m) => MonadBeam be (m :: Type -> Type) | m -> be where
#

A class that ties together a monad with a particular backend

Provided here is a low-level interface for executing commands. The 'run*' functions are wrapped by the appropriate functions in Database.Beam.Query.

This interface is very high-level and isn't meant to expose the full power of the underlying database. Namely, it only supports simple data retrieval strategies. More complicated strategies (for example, Postgres's COPY) are supported in individual backends. See the documentation of those backends for more details.

Methods

Instances9MonadBeam, …

Class for all Beam SQL backends

Instances1BeamSqlBackend
datadata MockSqlBackend (syntax :: k)
#

Fake backend that cannot deserialize anything, but is useful for testing

Instances47BeamSqlBackendIsString, HasQBuilder, BeamSqlBackend, BeamBackend, HasSqlEqualityCheck, HasSqlQuantifiedEqualityCheck, …