Re: more than 1 level of belongsTo

2012-06-12 Thread Ian
On Tuesday, June 12, 2012 1:05:16 AM UTC-6, rahajiyev wrote: > > You can keep laughing all you want, but I at least could get CakePHP > to work with an existing Oracle database lacking primary keys for a > backend app involving role permissions, forms, pagination and other > usual web stuff, as

Re: more than 1 level of belongsTo

2012-06-12 Thread rahajiyev
You can keep laughing all you want, but I at least could get CakePHP to work with an existing Oracle database lacking primary keys for a backend app involving role permissions, forms, pagination and other usual web stuff, as opposed to designing a new app and database from scratch. I worked around

Re: more than 1 level of belongsTo

2012-06-08 Thread David Lam
On Fri, Jun 8, 2012 at 5:56 AM, rahajiyev wrote: > Hi, I have a model Foo belongsTo Bar, which in turn belongsTo Xyzzy. > When I do $this->Foo->find('all'); > > sql dump shows that the SQL join is performed only for Foo->Bar, but > Xyzzy is never mentioned. > I tried

Re: more than 1 level of belongsTo

2012-06-08 Thread rihad
On Jun 8, 8:17 pm, bruno desthuilliers wrote: > What about posting your CakePHP questions to a CakePHP related > group ? > Dammit, sorry for that. Wrong topic. -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: more than 1 level of belongsTo

2012-06-08 Thread bruno desthuilliers
What about posting your CakePHP questions to a CakePHP related group ? On Jun 8, 2:56 pm, rahajiyev wrote: > Hi, I have a model Foo belongsTo Bar, which in turn belongsTo Xyzzy. > When I do $this->Foo->find('all'); > > sql dump shows that the SQL join is performed only

more than 1 level of belongsTo

2012-06-08 Thread rahajiyev
Hi, I have a model Foo belongsTo Bar, which in turn belongsTo Xyzzy. When I do $this->Foo->find('all'); sql dump shows that the SQL join is performed only for Foo->Bar, but Xyzzy is never mentioned. I tried all sorts of 'recursive' => 1 it didn't matter. Please help me. CakePHP 1.3.15 -- You

more than 1 level of belongsTo

2012-06-08 Thread rahajiyev
Hi, I have a model Foo belongsTo Bar, which in turn belongsTo Xyzzy. When I do $this->Foo->find('all'); sql dump shows that the SQL join is performed only for Foo->Bar, but Xyzzy is never mentioned. I tried all sorts of 'recursive' => 1 it didn't matter. Please help me. CakePHP 1.3.15 -- You