Generate a new table with each click in Firebase and Ionic3

1

How can I generate a new table in Firebase every time I click on the save button of my application?

I have this function in my .ts ...

file
guardar(){
    let i: number = 1;
    let j = i++;
    (this.fdb.list("/Usuario :"+j).push(this.nombre),
    this.fdb.list("/Usuario :"+j).push(this.apellido);}

... but I save the data in the same table.

    
asked by DeiVJeff 24.12.2018 в 18:00
source

0 answers