Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data Recursiveness be where Source #
Nonrecursive :: Recursiveness be | |
Recursive :: IsSql99RecursiveCommonTableExpressionSelectSyntax (BeamSqlBackendSelectSyntax be) => Recursiveness be |
Instances
Semigroup (Recursiveness be) Source # | |
Defined in Database.Beam.Query.CTE (<>) :: Recursiveness be -> Recursiveness be -> Recursiveness be # sconcat :: NonEmpty (Recursiveness be) -> Recursiveness be # stimes :: Integral b => b -> Recursiveness be -> Recursiveness be # | |
Monoid (Recursiveness be) Source # | |
Defined in Database.Beam.Query.CTE mempty :: Recursiveness be # mappend :: Recursiveness be -> Recursiveness be -> Recursiveness be # mconcat :: [Recursiveness be] -> Recursiveness be # |
newtype With be (db :: (* -> *) -> *) a Source #
With | |
|
Instances
Monad (With be db) Source # | |
Functor (With be db) Source # | |
IsSql99RecursiveCommonTableExpressionSelectSyntax (BeamSqlBackendSelectSyntax be) => MonadFix (With be db) Source # | |
Defined in Database.Beam.Query.CTE | |
Applicative (With be db) Source # | |
Defined in Database.Beam.Query.CTE |
reusableForCTE :: forall be res db. (ThreadRewritable QAnyScope res, Projectible be res, BeamSqlBackend be) => Text -> ReusableQ be db res Source #
selecting :: forall res be db. (BeamSql99CommonTableExpressionBackend be, HasQBuilder be, Projectible be res, ThreadRewritable QAnyScope res) => Q be db QAnyScope res -> With be db (ReusableQ be db res) Source #