Hello,

First, here is a brief rundown of my tables I'm working with and how
they are associated. I've tried to trim it down to as basic of a
layout as I can.

Table_A
------------
A_id
B_id
C_id
D_data


Table_C
------------
C_id
E_id
F_id


Table_F
------------
F_id
G_data


A belongsTo C
C belongsTo F


I need to run an updateAll on model A with the following 2 conditions:
B_id = $var, and G_data = $other_var. It's obviously easy for me to
put the B_id condition in, and even a condition of E_id or F_id, but
by default it won't go down to model F in the updateAll for me to put
such a condition in. I can accomplish what I need with a query, but
I'm trying to avoid that if possible. Any ideas or suggestions?


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

Reply via email to