Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module relates to the processing of Order-By clauses.
Documentation
processOrderByItems :: forall pgKind m. (MonadReader StringifyNumbers m, MonadWriter JoinTree m, Backend ('Postgres pgKind)) => Identifier -> FieldName -> SimilarArrayFields -> Maybe (NonEmpty PGCol) -> Maybe (NonEmpty (AnnotatedOrderByItem ('Postgres pgKind))) -> m ([(ColumnAlias, SQLExp)], SelectSorting, Maybe SQLExp) Source #
applyDistinctOnAtNode :: Identifier -> NonEmpty PGCol -> (DistinctExpr, [(ColumnAlias, SQLExp)]) Source #