|
Hi all, I'm wondering how to save the value NULL in a numerical field. Cake is doing `parent_id`='NULL'. In that case Mysql transforms NULL into 0 if it is a numerical field. I don't want 0, I want NULL to be stored. I read that "To set a date or numeric column to NULL, use an unquoted NULL or null or \N." (http://elib.cs.berkeley.edu/admin/mysql/nulls.html) Is there a way to get ridden of the quotes used by the save() function for this field ? Olivvv --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~--- |
