"Oops."

ADmad pointed out that the manual states for SQL fragment filters, to
use a full string instead of an array syntax, so...
$conditions = 'League.name = Site.name';

teknoid also pointed out that I could alternatively use escapeField:
$conditions = array('League.name' => $this->League->escapeField
('name', 'Site'));

Both worked as expected, and both gave differing results within the
$query parameter of the beforeFind method.  Both also show me what I
need to test for in my Behavior.  Thanks guys, I feel....humbled?  I
think.  (Thankful and dumb.  Heh.)
--~--~---------~--~----~------------~-------~--~----~
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