Fix more JOIN doc inaccuracies.
This commit is contained in:
parent
88d0202000
commit
4724560cb6
@ -659,21 +659,17 @@ data Insertion a
|
|||||||
-- :: (...) => InnerJoin (expr (Entity Person)) (expr (Maybe (Entity BlogPost)))
|
-- :: (...) => InnerJoin (expr (Entity Person)) (expr (Maybe (Entity BlogPost)))
|
||||||
-- (p1 `'InnerJoin`` f `'InnerJoin`` p2)
|
-- (p1 `'InnerJoin`` f `'InnerJoin`` p2)
|
||||||
-- :: (...) => InnerJoin
|
-- :: (...) => InnerJoin
|
||||||
-- (expr (Entity Person))
|
|
||||||
-- (InnerJoin (expr (Entity Follow))
|
|
||||||
-- (expr (Entity Person)))
|
|
||||||
-- ((p1 `'InnerJoin`` f) `'InnerJoin`` p2) ::
|
|
||||||
-- :: (...) => InnerJoin
|
|
||||||
-- (InnerJoin (expr (Entity Person))
|
-- (InnerJoin (expr (Entity Person))
|
||||||
-- (expr (Entity Follow)))
|
-- (expr (Entity Follow)))
|
||||||
-- (expr (Entity Person))
|
-- (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.
|
-- 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 query expr backend a => (a -> query b) -> query b
|
||||||
from = (from_ >>=)
|
from = (from_ >>=)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user