After browsing through the code, I don't think you can actually influence on the type of JOINS that lithium does. It will always output a LEFT JOIN.
Is this something someone has already thought of ? Maybe it's already feasible on the data branch?
Yeah, possibly. Take a look at Query::_fromRelationship(). Perhaps relationships can have a 'query' key containing settings that get merged into the Query object here.
Let the user alter the join mode in model relationships (not just thr…
…ough the query class), fixes #453.
Let users influence the relationship mode in models (and not only thr…
…ought the Query class), fixes #453
Closing in favor of #1001.