0
I need help on firebase i have a code that creates a "Child" (I think that’s what it’s called) called "Records" inside the node(folder/table) called "users" that takes a value passed by parameter, but whenever this function is called and this code is executed I would like instead of always overwriting Child "Records" would like to be created another one with the same name(Records) with the value passed, ie whenever calling the function create a Child, my code is like this:
      async setRecord(recordPoints){
      const uid = firebase.auth().currentUser.uid
      return await firebase.database().ref('usuarios').child(uid).child('records').set({
        record: recordPoints
      })
  }
thanks in advance :)
Thanks bro, it worked here, if it’s fucking!
– Ghostzeiro