Safe Haskell | None |
---|---|
Language | Haskell2010 |
Stuff gutted from Translate.Select
Synopsis
- mkAnnOrderByAlias :: Identifier -> FieldName -> SimilarArrayFields -> AnnotatedOrderByElement ('Postgres pgKind) v -> ColumnAlias
- mkUniqArrayRelationAlias :: FieldName -> [FieldName] -> Identifier
- mkArrayRelationTableAlias :: Identifier -> FieldName -> [FieldName] -> Identifier
- mkObjectRelationTableAlias :: Identifier -> RelName -> Identifier
- mkComputedFieldTableAlias :: Identifier -> FieldName -> Identifier
- mkBaseTableAlias :: Identifier -> TableAlias
- mkBaseTableColumnAlias :: Identifier -> PGCol -> ColumnAlias
- mkAggregateOrderByAlias :: AnnotatedAggregateOrderBy ('Postgres pgKind) -> ColumnAlias
- mkOrderByFieldName :: ToTxt a => a -> FieldName
- mkArrayRelationSourcePrefix :: Identifier -> FieldName -> HashMap FieldName [FieldName] -> FieldName -> Identifier
- mkArrayRelationAlias :: FieldName -> HashMap FieldName [FieldName] -> FieldName -> TableAlias
Documentation
mkAnnOrderByAlias :: Identifier -> FieldName -> SimilarArrayFields -> AnnotatedOrderByElement ('Postgres pgKind) v -> ColumnAlias Source #
Generate alias for order by extractors
mkUniqArrayRelationAlias :: FieldName -> [FieldName] -> Identifier Source #
mkArrayRelationTableAlias :: Identifier -> FieldName -> [FieldName] -> Identifier Source #
mkBaseTableColumnAlias :: Identifier -> PGCol -> ColumnAlias Source #
mkAggregateOrderByAlias :: AnnotatedAggregateOrderBy ('Postgres pgKind) -> ColumnAlias Source #
mkOrderByFieldName :: ToTxt a => a -> FieldName Source #
mkArrayRelationSourcePrefix :: Identifier -> FieldName -> HashMap FieldName [FieldName] -> FieldName -> Identifier Source #
mkArrayRelationAlias :: FieldName -> HashMap FieldName [FieldName] -> FieldName -> TableAlias Source #