Moduleopaleye-0.10.8.0Haskell2010
Opaleye.Internal.HaskellDB.Sql.Default
- 1 type
- 20 values
- Packageopaleye-0.10.8.0
- Exports21
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceDefault.hs
value
defaultSqlUpdate :: SqlGenerator-> SqlTableTable to update
-> [PrimExpr]Conditions which must all be true for a row to be updated.
-> AssocUpdate the data with this.
-> SqlUpdate
value
defaultSqlDelete :: SqlGenerator-> SqlTable-> [PrimExpr]Criteria which must all be true for a row to be deleted.
-> SqlDelete
Quote a string and escape characters that need escaping We use Postgres "escape strings", i.e. strings prefixed with E, to ensure that escaping with backslash is valid.
Escape characters that need escaping
Quote binary literals using Postgresql's hex format.