Is batch insertion of records possible in cakephp ?
Kindly reply me if possible show me some samples ?
My Query will look like
INSERT INTO `job_places` (`id`, `country_code`, `group`, `name`) VALUES
(1, 'DE', 3, 'Hamburg'),
(6, 'FFF', 1, 'Frankfurt');
You have
saveAllfor things like this http://book.cakephp.org/1.3/view/1031/Saving-Your-DataIn your example, you’ll need to format your data array like:
Nothing beats trying when you are learning something, so give that a go and post any problems you are having rather than wait for someone to post the exact code where you can just copy paste.