| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Opaleye.Manipulation
- arrangeInsert :: Table columns a -> columns -> SqlInsert
- arrangeInsertSql :: Table columns a -> columns -> String
- runInsert :: Connection -> Table columns columns' -> columns -> IO Int64
- arrangeUpdate :: Table columnsW columnsR -> (columnsR -> columnsW) -> (columnsR -> Column PGBool) -> SqlUpdate
- arrangeUpdateSql :: Table columnsW columnsR -> (columnsR -> columnsW) -> (columnsR -> Column PGBool) -> String
- runUpdate :: Connection -> Table columnsW columnsR -> (columnsR -> columnsW) -> (columnsR -> Column PGBool) -> IO Int64
- arrangeDelete :: Table a columnsR -> (columnsR -> Column PGBool) -> SqlDelete
- arrangeDeleteSql :: Table a columnsR -> (columnsR -> Column PGBool) -> String
- runDelete :: Connection -> Table a columnsR -> (columnsR -> Column PGBool) -> IO Int64
- arrangeInsertReturning :: Unpackspec returned returned -> Table columnsW columnsR -> columnsW -> (columnsR -> returned) -> Returning SqlInsert
- arrangeInsertReturningSql :: Unpackspec returned returned -> Table columnsW columnsR -> columnsW -> (columnsR -> returned) -> String
- runInsertReturningExplicit :: QueryRunner returned haskells -> Unpackspec returned returned -> Connection -> Table columnsW columnsR -> columnsW -> (columnsR -> returned) -> IO [haskells]
- runInsertReturning :: (Default QueryRunner returned haskells, Default Unpackspec returned returned) => Connection -> Table columnsW columnsR -> columnsW -> (columnsR -> returned) -> IO [haskells]
- data Unpackspec columns columns'
Documentation
arrangeInsert :: Table columns a -> columns -> SqlInsert Source
arrangeInsertSql :: Table columns a -> columns -> String Source
arrangeUpdate :: Table columnsW columnsR -> (columnsR -> columnsW) -> (columnsR -> Column PGBool) -> SqlUpdate Source
arrangeUpdateSql :: Table columnsW columnsR -> (columnsR -> columnsW) -> (columnsR -> Column PGBool) -> String Source
runUpdate :: Connection -> Table columnsW columnsR -> (columnsR -> columnsW) -> (columnsR -> Column PGBool) -> IO Int64 Source
arrangeInsertReturning :: Unpackspec returned returned -> Table columnsW columnsR -> columnsW -> (columnsR -> returned) -> Returning SqlInsert Source
arrangeInsertReturningSql :: Unpackspec returned returned -> Table columnsW columnsR -> columnsW -> (columnsR -> returned) -> String Source
runInsertReturningExplicit :: QueryRunner returned haskells -> Unpackspec returned returned -> Connection -> Table columnsW columnsR -> columnsW -> (columnsR -> returned) -> IO [haskells] Source
runInsertReturning :: (Default QueryRunner returned haskells, Default Unpackspec returned returned) => Connection -> Table columnsW columnsR -> columnsW -> (columnsR -> returned) -> IO [haskells] Source
runInsertReturning's use of the Default typeclass means that the
compiler will have trouble inferring types. It is strongly
recommended that you provide full type signatures when using
runInsertReturning.
data Unpackspec columns columns' Source
Instances