Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Stuff gutted from Translate.Select
Synopsis
- mkAnnOrderByAlias :: TableIdentifier -> FieldName -> SimilarArrayFields -> AnnotatedOrderByElement ('Postgres pgKind) v -> ColumnAlias
- mkObjectRelationTableAlias :: TableIdentifier -> RelName -> TableIdentifier
- mkComputedFieldTableIdentifier :: TableIdentifier -> FieldName -> TableIdentifier
- mkBaseTableIdentifier :: TableIdentifier -> TableIdentifier
- mkBaseTableAlias :: TableAlias -> TableAlias
- contextualizeBaseTableColumn :: TableIdentifier -> PGCol -> ColumnAlias
- contextualizeField :: TableIdentifier -> FieldName -> ColumnAlias
- contextualizeAggregateInput :: TableIdentifier -> FieldName -> FieldName -> ColumnAlias
- mkAggregateOrderByAlias :: AnnotatedAggregateOrderBy ('Postgres pgKind) v -> ColumnAlias
- mkOrderByFieldName :: ToTxt a => a -> FieldName
- mkArrayRelationSourcePrefix :: TableIdentifier -> FieldName -> HashMap FieldName [FieldName] -> FieldName -> TableIdentifier
- mkArrayRelationAlias :: FieldName -> HashMap FieldName [FieldName] -> FieldName -> TableAlias
Documentation
mkAnnOrderByAlias :: TableIdentifier -> FieldName -> SimilarArrayFields -> AnnotatedOrderByElement ('Postgres pgKind) v -> ColumnAlias Source #
Generate alias for order by extractors
mkAggregateOrderByAlias :: AnnotatedAggregateOrderBy ('Postgres pgKind) v -> ColumnAlias Source #
mkOrderByFieldName :: ToTxt a => a -> FieldName Source #
mkArrayRelationSourcePrefix :: TableIdentifier -> FieldName -> HashMap FieldName [FieldName] -> FieldName -> TableIdentifier Source #
mkArrayRelationAlias :: FieldName -> HashMap FieldName [FieldName] -> FieldName -> TableAlias Source #