mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-12-04 03:53:03 +03:00
export constructors to simplify module dependency layers.
This commit is contained in:
parent
ab8343978c
commit
05628685f9
@ -34,9 +34,9 @@ import Data.Maybe (fromMaybe)
|
|||||||
import Data.Monoid (Last (Last, getLast))
|
import Data.Monoid (Last (Last, getLast))
|
||||||
|
|
||||||
import Database.Relational.Query.Internal.BaseSQL (Duplication (All))
|
import Database.Relational.Query.Internal.BaseSQL (Duplication (All))
|
||||||
import Database.Relational.Query.Internal.Sub (NodeAttr (Just', Maybe), SubQuery, Qualified, JoinProduct, Projection)
|
|
||||||
import Database.Relational.Query.Internal.Product (restrictProduct, growProduct)
|
import Database.Relational.Query.Internal.Product (restrictProduct, growProduct)
|
||||||
|
|
||||||
|
import Database.Relational.Query.Sub (NodeAttr (Just', Maybe), SubQuery, Qualified, JoinProduct, Projection)
|
||||||
import Database.Relational.Query.Context (Flat)
|
import Database.Relational.Query.Context (Flat)
|
||||||
import Database.Relational.Query.Monad.Trans.JoinState
|
import Database.Relational.Query.Monad.Trans.JoinState
|
||||||
(JoinContext, primeJoinContext, updateProduct, joinProduct)
|
(JoinContext, primeJoinContext, updateProduct, joinProduct)
|
||||||
|
@ -43,7 +43,6 @@ module Database.Relational.Query.Relation (
|
|||||||
import Control.Applicative ((<$>))
|
import Control.Applicative ((<$>))
|
||||||
|
|
||||||
import Database.Relational.Query.Internal.BaseSQL (Duplication (Distinct, All))
|
import Database.Relational.Query.Internal.BaseSQL (Duplication (Distinct, All))
|
||||||
import Database.Relational.Query.Internal.Sub (NodeAttr(Just', Maybe))
|
|
||||||
|
|
||||||
import Database.Relational.Query.Context (Flat, Aggregated)
|
import Database.Relational.Query.Context (Flat, Aggregated)
|
||||||
import Database.Relational.Query.Monad.BaseType
|
import Database.Relational.Query.Monad.BaseType
|
||||||
@ -58,7 +57,7 @@ import qualified Database.Relational.Query.Monad.Aggregate as Aggregate
|
|||||||
import Database.Relational.Query.Monad.Unique (QueryUnique, unsafeUniqueSubQuery)
|
import Database.Relational.Query.Monad.Unique (QueryUnique, unsafeUniqueSubQuery)
|
||||||
import qualified Database.Relational.Query.Monad.Unique as Unique
|
import qualified Database.Relational.Query.Monad.Unique as Unique
|
||||||
import Database.Relational.Query.Table (Table, TableDerivable, derivedTable)
|
import Database.Relational.Query.Table (Table, TableDerivable, derivedTable)
|
||||||
import Database.Relational.Query.Sub (SubQuery)
|
import Database.Relational.Query.Sub (SubQuery, NodeAttr(Just', Maybe))
|
||||||
import qualified Database.Relational.Query.Sub as SubQuery
|
import qualified Database.Relational.Query.Sub as SubQuery
|
||||||
import Database.Relational.Query.Scalar (ScalarDegree)
|
import Database.Relational.Query.Scalar (ScalarDegree)
|
||||||
import Database.Relational.Query.Pi (Pi)
|
import Database.Relational.Query.Pi (Pi)
|
||||||
|
@ -40,7 +40,7 @@ module Database.Relational.Query.Sub (
|
|||||||
widthOfUntypedProjection, columnsOfUntypedProjection,
|
widthOfUntypedProjection, columnsOfUntypedProjection,
|
||||||
|
|
||||||
-- * Product of sub-queries
|
-- * Product of sub-queries
|
||||||
JoinProduct, NodeAttr,
|
JoinProduct, NodeAttr (..),
|
||||||
nodeTree,
|
nodeTree,
|
||||||
ProductBuilder,
|
ProductBuilder,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user