GreyCells, el 20 de abril a las 15:25 me escribiste:
> 
> $this->Person->set('name', null); before saving.

2 comments:
1) The table is really much bigger than a single "name" field (~60
   fields). Even when I can do the set()-thing programatically with a
   foreach over the $this->data, I find it annoying and unnecessary (if I
   have a "" for a field in my associative array is because I want to set
   the DB field to "", not avoid the update).
2) I don't want to make it NULL (I don't know if this is what it does
   $this->Person->set('name', null), but my wild guess it that it is).

It's really no way to save an associative array "as-is" into the DB?

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
 .------------------------------------------------------------------------,
  \  GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05 /
   '--------------------------------------------------------------------'
In 1995 a Japanese trawler sank, because a Russian
cargo plane dropped a living cow from 30,000 feet


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to