From 4724560cb690318acac8f103bbd26134df0bc799 Mon Sep 17 00:00:00 2001 From: Felipe Lessa Date: Tue, 12 May 2015 12:56:11 -0300 Subject: [PATCH] Fix more JOIN doc inaccuracies. --- src/Database/Esqueleto/Internal/Language.hs | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/Database/Esqueleto/Internal/Language.hs b/src/Database/Esqueleto/Internal/Language.hs index 9448df4..c77b6c3 100644 --- a/src/Database/Esqueleto/Internal/Language.hs +++ b/src/Database/Esqueleto/Internal/Language.hs @@ -659,21 +659,17 @@ data Insertion a -- :: (...) => InnerJoin (expr (Entity Person)) (expr (Maybe (Entity BlogPost))) -- (p1 `'InnerJoin`` f `'InnerJoin`` p2) -- :: (...) => InnerJoin --- (expr (Entity Person)) --- (InnerJoin (expr (Entity Follow)) --- (expr (Entity Person))) --- ((p1 `'InnerJoin`` f) `'InnerJoin`` p2) :: --- :: (...) => InnerJoin -- (InnerJoin (expr (Entity Person)) -- (expr (Entity Follow))) -- (expr (Entity Person)) +-- (p1 `'InnerJoin`` (f `'InnerJoin`` p2)) :: +-- :: (...) => InnerJoin +-- (expr (Entity Person)) +-- (InnerJoin (expr (Entity Follow)) +-- (expr (Entity Person))) -- @ -- -- Note that some backends may not support all kinds of @JOIN@s. --- For example, when using the SQL backend with SQLite, it will --- not accept the last example above (which is associated to the --- left, instead of being to the right) and will not accept --- 'RightOuterJoin's or 'FullOuterJoin's. from :: From query expr backend a => (a -> query b) -> query b from = (from_ >>=)