Better top-level docs for internal modules.
This commit is contained in:
parent
1286dc79b8
commit
25f632398d
@ -7,8 +7,12 @@
|
|||||||
, TypeFamilies
|
, TypeFamilies
|
||||||
, UndecidableInstances
|
, UndecidableInstances
|
||||||
#-}
|
#-}
|
||||||
|
-- | This is an internal module, anything exported by this module
|
||||||
|
-- may change without a major version bump. Please use only
|
||||||
|
-- "Database.Esqueleto" if possible.
|
||||||
module Database.Esqueleto.Internal.Language
|
module Database.Esqueleto.Internal.Language
|
||||||
( Esqueleto(..)
|
( -- * The pretty face
|
||||||
|
Esqueleto(..)
|
||||||
, from
|
, from
|
||||||
, Value(..)
|
, Value(..)
|
||||||
, InnerJoin(..)
|
, InnerJoin(..)
|
||||||
@ -16,12 +20,13 @@ module Database.Esqueleto.Internal.Language
|
|||||||
, LeftOuterJoin(..)
|
, LeftOuterJoin(..)
|
||||||
, RightOuterJoin(..)
|
, RightOuterJoin(..)
|
||||||
, FullOuterJoin(..)
|
, FullOuterJoin(..)
|
||||||
, JoinKind(..)
|
|
||||||
, IsJoinKind(..)
|
|
||||||
, OnClauseWithoutMatchingJoinException(..)
|
, OnClauseWithoutMatchingJoinException(..)
|
||||||
, PreprocessedFrom
|
|
||||||
, OrderBy
|
, OrderBy
|
||||||
, Update
|
, Update
|
||||||
|
-- * The guts
|
||||||
|
, JoinKind(..)
|
||||||
|
, IsJoinKind(..)
|
||||||
|
, PreprocessedFrom
|
||||||
, From
|
, From
|
||||||
, FromPreprocess
|
, FromPreprocess
|
||||||
) where
|
) where
|
||||||
|
|||||||
@ -7,18 +7,23 @@
|
|||||||
, OverloadedStrings
|
, OverloadedStrings
|
||||||
, UndecidableInstances
|
, UndecidableInstances
|
||||||
#-}
|
#-}
|
||||||
|
-- | This is an internal module, anything exported by this module
|
||||||
|
-- may change without a major version bump. Please use only
|
||||||
|
-- "Database.Esqueleto" if possible.
|
||||||
module Database.Esqueleto.Internal.Sql
|
module Database.Esqueleto.Internal.Sql
|
||||||
( SqlQuery
|
( -- * The pretty face
|
||||||
|
SqlQuery
|
||||||
, SqlExpr
|
, SqlExpr
|
||||||
, select
|
, select
|
||||||
, selectSource
|
, selectSource
|
||||||
, selectDistinct
|
, selectDistinct
|
||||||
, selectDistinctSource
|
, selectDistinctSource
|
||||||
|
, delete
|
||||||
|
, update
|
||||||
|
-- * The guts
|
||||||
, rawSelectSource
|
, rawSelectSource
|
||||||
, runSource
|
, runSource
|
||||||
, rawExecute
|
, rawExecute
|
||||||
, delete
|
|
||||||
, update
|
|
||||||
, toRawSql
|
, toRawSql
|
||||||
, Mode(..)
|
, Mode(..)
|
||||||
, Escape
|
, Escape
|
||||||
@ -426,7 +431,7 @@ selectDistinct :: ( SqlSelect a r
|
|||||||
selectDistinct = selectDistinctSource >=> runSource
|
selectDistinct = selectDistinctSource >=> runSource
|
||||||
|
|
||||||
|
|
||||||
-- | Runs a 'C.Source' of rows.
|
-- | (Internal) Run a 'C.Source' of rows.
|
||||||
runSource :: MonadResourceBase m =>
|
runSource :: MonadResourceBase m =>
|
||||||
C.Source (C.ResourceT (SqlPersist m)) r
|
C.Source (C.ResourceT (SqlPersist m)) r
|
||||||
-> SqlPersist m [r]
|
-> SqlPersist m [r]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user