[Vuejs]-How to store a specific node id on firebase

0👍

If you already know the location in the database you want to write to, don’t use push(), which always generates a unique id. Build a reference to the location you want to write, and just use set() to write the data at that location.

firebase.database().ref("/the/location/you/want/to/write").set(your_data)

Leave a comment