From 330a36b27e0b224709fcc8d0b5cf50a2ae05bfef Mon Sep 17 00:00:00 2001 From: parsonsmatt Date: Wed, 28 Aug 2019 09:40:57 -0600 Subject: [PATCH] update note --- src/Database/Esqueleto/Internal/Internal.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Database/Esqueleto/Internal/Internal.hs b/src/Database/Esqueleto/Internal/Internal.hs index ec4a886..4a50696 100644 --- a/src/Database/Esqueleto/Internal/Internal.hs +++ b/src/Database/Esqueleto/Internal/Internal.hs @@ -1994,8 +1994,8 @@ builderToText = TL.toStrict . TLB.toLazyTextWith defaultChunkSize -- -- Note: if you're curious about the SQL query being generated by -- @esqueleto@, instead of manually using this function (which is --- possible but tedious), you may just turn on query logging of --- @persistent@. +-- possible but tedious), see the 'renderQueryToText' function (along with +-- 'renderQuerySelect', 'renderQueryUpdate', etc). toRawSql :: (SqlSelect a r, BackendCompatible SqlBackend backend) => Mode -> (backend, IdentState) -> SqlQuery a -> (TLB.Builder, [PersistValue])