-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Functions that smash Pipes and sqlite-simple together -- -- Functions that smash Pipes and sqlite-simple together @package pipes-sqlite-simple @version 0.2 module Pipes.SQLite -- | Run a query with parameters and yield each parsed row in the result. query :: (MonadSafe m, FromRow a, ToRow params) => Connection -> Query -> params -> Producer' a m () -- | Run a parameterless query and yield each parsed row in the result. query_ :: (MonadSafe m, FromRow a) => Connection -> Query -> Producer' a m () -- | Run a query with named parameters and yield each parsed row in the -- result. queryNamed :: (MonadSafe m, FromRow a) => Connection -> Query -> [NamedParam] -> Producer' a m () -- | Yields each row in the given Statement. It is assumed that the -- statement has already been opened. eachRow :: (MonadIO m, FromRow a) => Statement -> Producer' a m () -- | Executes the SQL statment by binding each value provided by each -- upstream yield. execute :: (MonadIO m, ToRow q) => Connection -> Query -> Consumer' q m b -- | Executes the SQL statement with the set of bound parameters provided -- by each upstream yield. executeNamed :: MonadIO m => Connection -> Query -> Consumer' [NamedParam] m b