From 1de1ee9e6eca5c5f85fb6b4fd78d97b9e4763dde Mon Sep 17 00:00:00 2001 From: tim Date: Sun, 2 Aug 2020 10:21:30 -0400 Subject: [PATCH] Removes irrelevant copy pasta from some haddocks --- src/Database/Esqueleto/Internal/Internal.hs | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/Database/Esqueleto/Internal/Internal.hs b/src/Database/Esqueleto/Internal/Internal.hs index 96e472b..b65fe30 100644 --- a/src/Database/Esqueleto/Internal/Internal.hs +++ b/src/Database/Esqueleto/Internal/Internal.hs @@ -2626,11 +2626,6 @@ renderQueryToText mode query = do -- | Renders a 'SqlQuery' into a 'Text' value along with the list of -- 'PersistValue's that would be supplied to the database for @?@ placeholders. -- --- You must ensure that the 'Mode' you pass to this function corresponds with --- the actual 'SqlQuery'. If you pass a query that uses incompatible features --- (like an @INSERT@ statement with a @SELECT@ mode) then you'll get a weird --- result. --- -- @since 3.1.1 renderQuerySelect :: (SqlSelect a r, BackendCompatible SqlBackend backend, Monad m) @@ -2642,11 +2637,6 @@ renderQuerySelect = renderQueryToText SELECT -- | Renders a 'SqlQuery' into a 'Text' value along with the list of -- 'PersistValue's that would be supplied to the database for @?@ placeholders. -- --- You must ensure that the 'Mode' you pass to this function corresponds with --- the actual 'SqlQuery'. If you pass a query that uses incompatible features --- (like an @INSERT@ statement with a @SELECT@ mode) then you'll get a weird --- result. --- -- @since 3.1.1 renderQueryDelete :: (SqlSelect a r, BackendCompatible SqlBackend backend, Monad m) @@ -2658,11 +2648,6 @@ renderQueryDelete = renderQueryToText DELETE -- | Renders a 'SqlQuery' into a 'Text' value along with the list of -- 'PersistValue's that would be supplied to the database for @?@ placeholders. -- --- You must ensure that the 'Mode' you pass to this function corresponds with --- the actual 'SqlQuery'. If you pass a query that uses incompatible features --- (like an @INSERT@ statement with a @SELECT@ mode) then you'll get a weird --- result. --- -- @since 3.1.1 renderQueryUpdate :: (SqlSelect a r, BackendCompatible SqlBackend backend, Monad m) @@ -2674,11 +2659,6 @@ renderQueryUpdate = renderQueryToText UPDATE -- | Renders a 'SqlQuery' into a 'Text' value along with the list of -- 'PersistValue's that would be supplied to the database for @?@ placeholders. -- --- You must ensure that the 'Mode' you pass to this function corresponds with --- the actual 'SqlQuery'. If you pass a query that uses incompatible features --- (like an @INSERT@ statement with a @SELECT@ mode) then you'll get a weird --- result. --- -- @since 3.1.1 renderQueryInsertInto :: (SqlSelect a r, BackendCompatible SqlBackend backend, Monad m)