generated from tpl/purs
refactor: Database.PostgreSQL.PG -> remove unused type alias Database
This commit is contained in:
parent
2003136f6d
commit
e74e715266
@ -26,8 +26,6 @@ import Database.PostgreSQL.Value (class FromSQLValue, class ToSQLValue, fromSQLV
|
||||
import Effect.Aff (Aff)
|
||||
import Effect.Aff.Class (class MonadAff, liftAff)
|
||||
|
||||
type Database = String
|
||||
|
||||
hoistAffEither :: forall a m. MonadAff m => MonadError PGError m => Aff (Either PGError a) -> m a
|
||||
hoistAffEither m = liftAff m >>= either throwError pure
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user