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_ >>=)