I am trying to store orders(quantity, price, date, etc), I want to store each one in different arrays inside an array called "orders", but when I send the data, instead of creating a new array, it overwrites the one that was already there
this is my code
TS
this.FireServices.collection("clientData").doc(uid).update({
orders: [this.dataForm.value]
})
The data is obtained directly from a form