it simply can't as it will only check for the right keys
it is your responsibility to check the array for correctness
quite simple to do that as the result will not be the expected :)
On 7 Jul., 12:49, cake-learner sh.koiz...@gmail.com wrote:
why cakephp is not generating any errors when I go
model - find( 'all', array( 'id' = 5 ) );
instead of
model - find( 'all', array( 'conditions' = array( 'id' = 5 ) );
It is very helpful if it does.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
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