mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2025-01-07 13:46:41 +03:00
relational-query: using binary operator.
This commit is contained in:
parent
b67f0edb6d
commit
3d68d9ead3
@ -215,7 +215,7 @@ showQualifier (Qualifier i) = stringSQL $ 'T' : show i
|
||||
|
||||
-- | Binary operator to qualify.
|
||||
(<.>) :: Qualifier -> ColumnSQL -> ColumnSQL
|
||||
i <.> n = fmap (showQualifier i SQL.<.>) n
|
||||
i <.> n = (showQualifier i SQL.<.>) <$> n
|
||||
|
||||
-- | Qualified expression from qualifier and projection index.
|
||||
columnFromId :: Qualifier -> Int -> ColumnSQL
|
||||
|
Loading…
Reference in New Issue
Block a user