opaleye-sqlite-0.0.0.1: An SQL-generating DSL targeting SQLite

Safe HaskellNone
LanguageHaskell98

Opaleye.SQLite.Internal.HaskellDB.Sql.Default

Synopsis

Documentation

defaultSqlUpdate Source

Arguments

:: SqlGenerator 
-> TableName

Name of the table to update.

-> [PrimExpr]

Conditions which must all be true for a row to be updated.

-> Assoc

Update the data with this.

-> SqlUpdate 

defaultSqlDelete Source

Arguments

:: SqlGenerator 
-> TableName

Name of the table

-> [PrimExpr]

Criteria which must all be true for a row to be deleted.

-> SqlDelete 

escape :: Char -> String Source

Escape characters that need escaping FIXME: Escaping control characters probably doesn't work in SQLite Need more tests

binQuote :: ByteString -> String Source

Quote binary literals using Postgresql's hex format.