Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
aggregateFieldsToExtractorExps :: Identifier -> AggregateFields ('Postgres pgKind) -> [(ColumnAlias, SQLExp)] Source #
mkAggregateOrderByExtractorAndFields :: forall pgKind. Backend ('Postgres pgKind) => AnnotatedAggregateOrderBy ('Postgres pgKind) -> (Extractor, AggregateFields ('Postgres pgKind)) Source #
asSingleRowExtr :: ColumnAlias -> SQLExp Source #
asJsonAggExtr :: JsonAggSelect -> ColumnAlias -> PermissionLimitSubQuery -> Maybe OrderByExp -> Extractor Source #