Module

Postgres.Pool.Transaction

Package
purescript-pg
Repository
bklaric/purescript-pg

#withTransaction Source

withTransaction :: forall result error. (Error -> error) -> ((Either error result -> Effect Unit) -> Client -> Effect Unit) -> (Either error result -> Effect Unit) -> Pool -> Effect Unit