Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
forEachWith_ :: RowParser r -> Connection -> Query -> (r -> IO ()) -> IO ()postgresql-simple Database.PostgreSQL.Simple No documentation available.
forEach_ :: FromRow r => Connection -> Query -> (r -> IO ()) -> IO ()postgresql-simple Database.PostgreSQL.Simple A version of forEach that does not perform query substitution.
formatMany :: ToRow q => Connection -> Query -> [q] -> IO ByteStringpostgresql-simple Database.PostgreSQL.Simple Format a query string with a variable number of rows. This function is exposed to help with debugging and logging. Do not use it to prepare queries for execution. The query string must contain exactly one substitution group, identified by the SQL keyword "VALUES" (case insensitive) followed by an "(" character, a series of one or more "?" characters separated by commas, and a ")" character. White space in a substitution group is permitted. Throws FormatError if the query string could not be formatted correctly.
formatQuery :: ToRow q => Connection -> Query -> q -> IO ByteStringpostgresql-simple Database.PostgreSQL.Simple Format a query string. This function is exposed to help with debugging and logging. Do not use it to prepare queries for execution. String parameters are escaped according to the character set in use on the Connection. Throws FormatError if the query string could not be formatted correctly.
-
postgresql-simple Database.PostgreSQL.Simple.FromField This returns whether the data was returned in a binary or textual format. Analogous to libpq's PQfformat.
force :: Exceptional e a -> Exceptional e aexplicit-exception Control.Monad.Exception.Asynchronous.Lazy construct Exceptional constructor lazily
forceT :: forall (m :: Type -> Type) e a . Monad m => ExceptionalT e m a -> ExceptionalT e m aexplicit-exception Control.Monad.Exception.Asynchronous.Lazy see force
force :: Exceptional e a -> Exceptional e aexplicit-exception Control.Monad.Exception.Asynchronous.Strict construct Exceptional constructor lazily
forceT :: forall (m :: Type -> Type) e a . Monad m => ExceptionalT e m a -> ExceptionalT e m aexplicit-exception Control.Monad.Exception.Asynchronous.Strict see force
force :: Exceptional e a -> Exceptional e aexplicit-exception Control.Monad.Exception.Synchronous If you are sure that the value is always a Success you can tell that the run-time system thus making your program lazy. However, try to avoid this function by using catch and friends, since this function is partial.