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