Re: R: Setting up a model

2007-03-29 Thread savagekabbage
I'm not sure exactly how the pagination component works, but will it still work correctly if you pass $order, $limit, and $page to a custom query after using list($order,$limit,$page) = $this->Pagination- >init($criteria); right before the call? I was just wondering... On Mar 29, 2:07 pm, "Chris

Re: R: Setting up a model

2007-03-29 Thread Christoph
> Your DB scheme confuses me... Maybe you could just do a manual query > from your model? Several times manual queries have been better/more > efficient to use than attempting to pull it off with cake. My only problem with that is the pagination component doesn't really play well with manual qu

Re: R: Setting up a model

2007-03-29 Thread savagekabbage
Your DB scheme confuses me... Maybe you could just do a manual query from your model? Several times manual queries have been better/more efficient to use than attempting to pull it off with cake. On Mar 28, 1:17 pm, "Christoph" <[EMAIL PROTECTED]> wrote: > > Hello christoph > > The error you re

Re: R: Setting up a model

2007-03-29 Thread thequietlab
I have the same problem. I need this additional condition to LEFT JOIN but it seems like there's no way to do it cake'way... or ? anybody ? On 28 Mar, 20:17, "Christoph" <[EMAIL PROTECTED]> wrote: > > Hello christoph > > The error you recieve is for typo. > > Use uppercase model name as aliased i

Re: R: Setting up a model

2007-03-28 Thread Christoph
> Hello christoph > The error you recieve is for typo. > Use uppercase model name as aliased in the query > >>> $criteria = 'Collection.user_id = \'' . $uid . '\''; Thanks for your response. But typo aside, the query isn't going to return the result set I'm expecting. If there are 0 rows

R: Setting up a model

2007-03-28 Thread m.sbragi
Hello christoph The error you recieve is for typo. Use uppercase model name as aliased in the query >>> $criteria = 'Collection.user_id = \'' . $uid . '\''; --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ca