That seems to be true, but it is pretty hard to understand the
rationale.

On Dec 6, 8:51 am, Amit Badkas <amit.sanis...@gmail.com> wrote:
> Hi,
>
> You are right, saveAll() only save direct relations.
>
> Amit Badkas
>
> PHP Applications for E-Biz:http://www.sanisoft.com
>
> On Mon, Dec 6, 2010 at 11:47 AM, Dave Maharaj <m...@davemaharaj.com> wrote:
> >  I am manually making an array of data to run a saveAll for an internal
> > function of data I gather so I cant seem to get the 1 relation to save and
> > curious why.
>
> > User has 1 Location has 1 Date
>
> > So I create $data = array(
>
> > ‘User’ => array(),
>
> > ‘Location’ => array(
>
> > ‘Date’ => array()));
>
> > So User and Location save but Date does not. I tried with Date inside the
> > Location array and straight inline just like User and Location
>
> > $data = array(
>
> > ‘User’ => array(),
>
> > ‘Location’ => arra(),
>
> > ’Date’ => array());
>
> > Will saveAll only save direct relations only? Even if Date is related to
> > User thru Location?
>
> > Thanks,
>
> > Dave
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
> >  more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to