Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Postgres Translate Column
Translate column values to Postgres-specific SQL expressions.
Synopsis
- toTxtValue :: ColumnValue ('Postgres pgKind) -> SQLExp
- toJSONableExp :: StringifyNumbers -> ColumnType ('Postgres pgKind) -> Bool -> Maybe NamingCase -> SQLExp -> SQLExp
Documentation
toTxtValue :: ColumnValue ('Postgres pgKind) -> SQLExp Source #
toJSONableExp :: StringifyNumbers -> ColumnType ('Postgres pgKind) -> Bool -> Maybe NamingCase -> SQLExp -> SQLExp Source #
Formats each columns to appropriate SQL expression