Safe Haskell | None |
---|---|
Language | Haskell2010 |
Top-level Beam module. This module re-exports all the symbols necessary for most common user operations.
The most interesting modules are Schema
and Query
.
SQL
contains an internal representation of SQL
that can be easily converted to textual
SQL. Backend
offers functions to run Beam queries
and data manipulation commands within specific SQL backends.
For a series of tutorials, see my series of blog posts at
- module Database.Beam.SQL
- module Database.Beam.Query
- module Database.Beam.Schema
- module Database.Beam.Backend
- class Typeable a
- class Generic a
- data Identity a :: * -> *
- liftIO :: MonadIO m => forall a. IO a -> m a
- data Beam d m
- class BeamBackend backendSettings
- data BeamT e d m a
- data BeamResult e a
- = Success a
- | Rollback (BeamRollbackReason e)
- data BeamRollbackReason e
- = InternalError String
- | UserError e
Documentation
module Database.Beam.SQL
module Database.Beam.Query
module Database.Beam.Schema
module Database.Beam.Backend
class Generic a
Representable types of kind *. This class is derivable in GHC with the DeriveGeneric flag on.
data Identity a :: * -> *
Identity functor and monad. (a non-strict monad)
Since: 4.8.0.0
Monad Identity | |
Functor Identity | |
MonadFix Identity | |
Applicative Identity | |
Foldable Identity | |
Traversable Identity | |
Generic1 Identity | |
MonadZip Identity | |
Eq1 Identity | |
Ord1 Identity | |
Read1 Identity | |
Show1 Identity | |
MonadBaseControl Identity Identity | |
Eq a => Eq (Identity a) | |
Data a => Data (Identity a) | |
Ord a => Ord (Identity a) | |
Read a => Read (Identity a) | This instance would be equivalent to the derived instances of the
|
Show a => Show (Identity a) | This instance would be equivalent to the derived instances of the
|
Generic (Identity a) | |
Table tbl => FromSqlValues (tbl Identity) Source | |
type Rep1 Identity = D1 D1Identity (C1 C1_0Identity (S1 S1_0_0Identity Par1)) | |
type StM Identity a = a | |
type Rep (Identity a) = D1 D1Identity (C1 C1_0Identity (S1 S1_0_0Identity (Rec0 a))) |
data BeamResult e a Source
(Show e, Show a) => Show (BeamResult e a) Source |
data BeamRollbackReason e Source
Show e => Show (BeamRollbackReason e) Source | |
Error (BeamRollbackReason e) Source |