I'm trying to increment the fields max_invite
and s_max_invite
on the structure below:
firestore.collection('groups').doc(doc.id).update({
'types.0.max_invite': firestore.FieldValue.increment(1),
'types.0.s_max_invite': firestore.FieldValue.increment(1),
})
}
The result is:
What is wrong?
Thanks