Adding new child to object in firebase

PHOTO EMBED

Sat Jun 05 2021 09:25:03 GMT+0000 (UTC)

Saved by @nerdydave #javascript

database.ref('object').push({nickname: 'carl', age: 20})
content_copyCOPY

The .push method will automatically create a unique key.

vueschool.io