ok well, this functions are nice, but they don't solve my problem! ;) an example: i have a table with many Resources who all can belong to many Projects. Now i have a Resource that is already associated with 2 projects, but when i just add another assoc through the $this->data['Project']['Project'][] vars as described in the manual (and with extensions in some posts here in the newsgroup) it, cake executes a DELETE all associations between this resource and that project before adding just the single one that my data array contains.
I just want to make use of the fact, that my joinTable is keyworded. Why is Cake not using an INSERT INTO ... ON DUPLICATE KEY UPDATE query for the HABTM saving mechanism but is using some weird "first delete all, then insert them all again" algorithm? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
