Hi, I have a table with a timestamp field which is managed by MySQL. This is the definition of the field: `fieldname` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP When a new record is inserted, MySQL fills in the default value for the field. When the record is updated, MySQL updates the field value accordingly. I need to tell CakePHP not to include that field in the inserts and updates, otherwise MySQL does not assign the values it should. The timestamp field is just an example since the behavior I'm looking for would be needed for any computed field in the table. Thanks in advance --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~--- |
- How to exclude a field from inserts and updates R. Davila