Re: Cakephp query have all conditions in join

2008-03-28 Thread AD7six
On Mar 28, 9:54 pm, c3k <[EMAIL PROTECTED]> wrote: > UP "alternatively explain what you mean. " that means show the sql you are talking about ;) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To

Re: Cakephp query have all conditions in join

2008-03-28 Thread c3k
UP http://groups.google.com/group/cake-php/browse_thread/thread/7ca543c3832c075b/e271da3dad4b2e98 On 5 Mar, 16:18, c3k <[EMAIL PROTECTED]> wrote: > On 5 Mar, 13:32, AD7six <[EMAIL PROTECTED]> wrote: > > > Based on what logic would you like cake to ignore the conditions you > > are explicitly tell

Re: Cakephp query have all conditions in join

2008-03-05 Thread c3k
On 5 Mar, 13:32, AD7six <[EMAIL PROTECTED]> wrote: > Based on what logic would you like cake to ignore the conditions you > are explicitly telling it to restrict your results on. I expect that my conditions are used in the where, why they are used in the where AND in the join??? Which are the

Re: Cakephp query have all conditions in join

2008-03-05 Thread AD7six
On Mar 5, 12:35 pm, c3k <[EMAIL PROTECTED]> wrote: > Someone can explain me why cakephp when make joins use all the > condition passed for the query? Based on what logic would you like cake to ignore the conditions you are explicitly telling it to restrict your results on. > > I've see this be

Cakephp query have all conditions in join

2008-03-05 Thread c3k
Someone can explain me why cakephp when make joins use all the condition passed for the query? I've see this behavior from the beginning and i didn't worry about it, but today i've found a query on a big table that is slowing down my app because of the join condition. I'd like to know more about