# saveMany basics

**URL:** <https://discourse.cakephp.org/t/savemany-basics/5182>\
**Category:** Need Help\
**Created:** [October 30, 2018, 4:57am UTC](https://discourse.cakephp.org/t/savemany-basics/5182 "2018-10-30T04:57:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Citadel](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/citadel/32/1141_2.png) [@Citadel](https://discourse.cakephp.org/u/Citadel)\
**Post date:** [October 30, 2018, 4:57am UTC](https://discourse.cakephp.org/t/savemany-basics/5182/1 "2018-10-30T04:57:24Z")

</div>

Hello,

We are trying to come up with the right way of saving our data in this scenario.

We have a time entry form where we will select the date at the top  
Below that will be a list of employees (consisting of an employee ID, first name and last name) and then a field for time in, and a field for a timecode. (blanks are “normal” days, other codes used for sick, vacation etc.)

![sample_form](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex029/uploads/cakephp/original/2X/3/38c6c1aa1b86fd4723c3d9fa8cf4eb674ee0a3fa.jpeg)

I think what we need to use is saveMany. ([https://book.cakephp.org/3.0/en/orm/saving-data.html#saving-multiple-entities](https://book.cakephp.org/3.0/en/orm/saving-data.html#saving-multiple-entities)) I am just not grasping how to actually implement it particularly in this scenario.

---

<div class="post-metadata">

**Author:** ![ervinmesir](https://avatars.discourse-cdn.com/v4/letter/e/a87d85/32.png) [@ervinmesir](https://discourse.cakephp.org/u/ervinmesir)\
**Post date:** [October 30, 2018, 7:02am UTC](https://discourse.cakephp.org/t/savemany-basics/5182/2 "2018-10-30T07:02:03Z")

</div>

> [@Citadel](#):
>
> m just not grasping how to actually implement it particularly in

What is your question?

---

<div class="post-metadata">

**Author:** ![Citadel](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/citadel/32/1141_2.png) [@Citadel](https://discourse.cakephp.org/u/Citadel)\
**Post date:** [October 30, 2018, 12:13pm UTC](https://discourse.cakephp.org/t/savemany-basics/5182/3 "2018-10-30T12:13:57Z")

</div>

Since I am not grasping how to implement it…How do I implement it?

---

<div class="post-metadata">

**Author:** ![Citadel](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/citadel/32/1141_2.png) [@Citadel](https://discourse.cakephp.org/u/Citadel)\
**Post date:** [November 3, 2018, 3:29am UTC](https://discourse.cakephp.org/t/savemany-basics/5182/4 "2018-11-03T03:29:09Z")

</div>

If someone has a step by step example of how to do a basic saveMany that might be helpful.
