Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype CountAggregate pgKind v = CountAggregate {
- getCountType :: CountType (PGCol, AnnRedactionExp ('Postgres pgKind) v)
Documentation
newtype CountAggregate pgKind v Source #
This newtype allows us to reuse CountType
for the CountType
type family
We reuse the overall structure, but our column type is a PGCol column name, plus
the column redaction expression used by inherited roles.
See [SQL generation for inherited roles] for more information about column redaction
CountAggregate | |
|