relational-query: using binary operator.

This commit is contained in:
Kei Hibino 2017-02-11 16:46:07 +09:00
parent b67f0edb6d
commit 3d68d9ead3

View File

@ -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