Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- name: "test",
- isActive: true,
- items: [
- {
- id: "123",
- itemName: "testItem",
- qty: 1
- },
- {
- id: "555",
- itemName: "anotherItem",
- qty: 5
- }]
- }
- this.firestore.collection(<collectionName>).doc(<docID>).update({
- answers: firestore.FieldValue.arrayUnion(<AnswersObject>)
- });
Add Comment
Please, Sign In to add comment