mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-12-15 06:43:04 +03:00
Use newtype.
This commit is contained in:
parent
eef1aa6bdc
commit
1d3d14a376
@ -34,7 +34,8 @@ import qualified Language.SQL.Keyword as SQL
|
|||||||
|
|
||||||
|
|
||||||
-- | JoinContext type for QueryJoin.
|
-- | JoinContext type for QueryJoin.
|
||||||
data JoinContext = JoinContext
|
newtype JoinContext =
|
||||||
|
JoinContext
|
||||||
{ product :: Maybe QueryProductNode }
|
{ product :: Maybe QueryProductNode }
|
||||||
|
|
||||||
-- | Initial 'JoinContext'.
|
-- | Initial 'JoinContext'.
|
||||||
|
Loading…
Reference in New Issue
Block a user