you are NOT working with JAVA or type safe languages
you are working with PHP and PHP cannot use NULL as value. NULL means:
not defined
as you can see with your above examples, the results are not what you
expected
its not the fault of CakePHP but PHP itself.
i hope that clarifies it
On 4 Okt., 15:26, lyba <l...@poczta.fm> wrote:
> forgot an objection:
> - when field contains reference to another object (object_id), it is
> null when nonexistent or deleted
>
> This is situation where above condition would need to be applied as
> this is where null is appropriate value to work with
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment