Represents a RETURNING statement for a manipulation query.
Constructors
Count :: Returning fields Int64ReturningExplicit :: FromFields b c -> (a -> b) -> Returning fields [c]
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · 8c2f8e8 · 2026-10-19
Moduleopaleye-0.10.8.0Haskell2010
Represents a RETURNING statement for a manipulation query.
Count :: Returning fields Int64ReturningExplicit :: FromFields b c -> (a -> b) -> Returning fields [c]Updater (a -> b)Profunctor UpdaterDefined in opaleye-0.10.8.0 · Opaleye.Internal.ManipulationProductProfunctor UpdaterDefined in opaleye-0.10.8.0 · Opaleye.Internal.ManipulationDefault Updater (Field_ n a) ()Defined in opaleye-0.10.8.0 · Opaleye.Internal.ManipulationDefault Updater (Field_ n a) (Maybe (Field_ n a))Defined in opaleye-0.10.8.0 · Opaleye.Internal.ManipulationDefault Updater (Field_ n a) (Field_ n a)Defined in opaleye-0.10.8.0 · Opaleye.Internal.ManipulationFunctor (Updater a)Defined in opaleye-0.10.8.0 · Opaleye.Internal.ManipulationApplicative (Updater a)Defined in opaleye-0.10.8.0 · Opaleye.Internal.ManipulationrunDeleteReturning :: Default FromFields columnsReturned haskells=> Connection-> Table a columnsRTable to delete rows from
-> (columnsR -> Field SqlBool)Predicate function f to choose which rows to delete.
runDeleteReturning will delete rows for which f returns TRUE
and leave unchanged rows for
which f returns FALSE.
-> (columnsR -> columnsReturned)-> IO [haskells]Returned rows which have been deleted