# How can i just INSERT multiple values in Firebase without OVERWRITING

**URL:** <https://community.thunkable.com/t/how-can-i-just-insert-multiple-values-in-firebase-without-overwriting/842011>\
**Category:** Questions about Thunkable X\
**Created:** [September 23, 2020, 9:35am UTC](https://community.thunkable.com/t/how-can-i-just-insert-multiple-values-in-firebase-without-overwriting/842011 "2020-09-23T09:35:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![saramdl.gaunde021](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@saramdl.gaunde021](https://community.thunkable.com/u/saramdl.gaunde021)\
**Post date:** [September 23, 2020, 9:35am UTC](https://community.thunkable.com/t/how-can-i-just-insert-multiple-values-in-firebase-without-overwriting/842011/1 "2020-09-23T09:35:36Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/8/b8cf5a58a7a281b59c5cb6750293b197abfc4a80.png)

i usually save multiple values in Firebase like this

but like second picture, when i save other values in same directory, then OVERWRITE (saving values and deleting previous ones) becuz it is action of “SET”

So i wonder can i just “INSERT” multiple values?

i can use REALTIME SAVE block in each value but it is not efficient when i deal with multiple values.

---

<div class="post-metadata">

**Author:** ![saramdl.gaunde021](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@saramdl.gaunde021](https://community.thunkable.com/u/saramdl.gaunde021)\
**Post date:** [September 23, 2020, 4:27pm UTC](https://community.thunkable.com/t/how-can-i-just-insert-multiple-values-in-firebase-without-overwriting/842011/2 "2020-09-23T16:27:09Z")

</div>

i think i just use ‘realtime db - save’

---

<div class="post-metadata">

**Author:** ![DuMonster](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/dumonster/32/81287_2.png) [@DuMonster](https://community.thunkable.com/u/DuMonster)\
**Post date:** [September 23, 2020, 4:52pm UTC](https://community.thunkable.com/t/how-can-i-just-insert-multiple-values-in-firebase-without-overwriting/842011/3 "2020-09-23T16:52:40Z")

</div>

@saramdl.gaunde021

Maybe make the Firebase DB a list and use ![listInsertblock](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/e/de5b4b6bd001c40f0d13d732d2d9b1f45c307c2d.png) ?

---

<div class="post-metadata">

**Author:** ![saramdl.gaunde021](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@saramdl.gaunde021](https://community.thunkable.com/u/saramdl.gaunde021)\
**Post date:** [September 23, 2020, 4:53pm UTC](https://community.thunkable.com/t/how-can-i-just-insert-multiple-values-in-firebase-without-overwriting/842011/4 "2020-09-23T16:53:51Z")

</div>

i like make a cloud list but at this time i need form as Object. thanks

---

<div class="post-metadata">

**Author:** ![saramdl.gaunde021](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@saramdl.gaunde021](https://community.thunkable.com/u/saramdl.gaunde021)\
**Post date:** [September 23, 2020, 4:55pm UTC](https://community.thunkable.com/t/how-can-i-just-insert-multiple-values-in-firebase-without-overwriting/842011/5 "2020-09-23T16:55:06Z")

</div>

i asked becuz i insert new values to previous db but becuz of overwriting old values are gone.

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [September 23, 2020, 5:01pm UTC](https://community.thunkable.com/t/how-can-i-just-insert-multiple-values-in-firebase-without-overwriting/842011/6 "2020-09-23T17:01:10Z")

</div>

Here is a thread and a link to my project that includes a function to update individual properties anywhere within a JSON hierarchy without destroying other entries.

> [@\[Solved\] Where the dictionary block in Thunkable?](http://community.thunkable.com/t/solved-where-the-dictionary-block-in-thunkable/656564/14):
>
> I had the same issue ([Generating/ changing JSON object - #12 by drted](http://community.thunkable.com/t/generating-changing-json-object/106049/12)). The solution I originally created worked EXACTLY like dictionary blocks in App Inventor 2. Unfortunately, Thunkable changed variable handling in some way in April/May, causing my recurrsive functions to no longer work. I have a second version that works using a loop instead of recursion. The block “Syntax” is a little clunky now, but at least it works for both GET and SET. The working project is here: [https://x.thunkable.c…](https://x.thunkable.com/copy/19b2ea706648f806f2ccf5e5eecb1e01)

[https://x.thunkable.com/copy/6fa388d528ad7ac512617b87c8dba9da](https://x.thunkable.com/copy/6fa388d528ad7ac512617b87c8dba9da)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:23pm UTC](https://community.thunkable.com/t/how-can-i-just-insert-multiple-values-in-firebase-without-overwriting/842011/7 "2024-11-08T12:23:49Z")

</div>


