I am also looking for this solution. Someone post if you find it, or i'll keep looking. This is not for related data right? its just when inserting multiple rows using cakephp saveAll into the same time, to return the insert_id or primary ids of all of the rows.
On Sep 1, 6:07 am, RJ <[email protected]> wrote: > I am doing a saveall to insert multiple row at once. Is there any way > by which i can get the primary ids of all the rows inserted. > $this->Model->getlastinsertedid() returns the id of the latest row.. > > Any ideas? 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 [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?hl=en
