Yuval Rosen
Yuval Rosen
Because this way you dont need to get all the other values, you just do, for example: ```javascript firestore.updateDocument("path", {}, ["fieldToRemove"]); ``` and it would delete "fieldToRemove", while keeping everything...
No, that's not what I mean, I meant that `field1`, `field2` are both already fields in the database, and the above command which I wrote (with `FieldValue`) would update one...
No, that is still not what I meant, in your example here you show how you can delete a field, by simply setting all the other fields except this one....
[FieldValue](https://firebase.google.com/docs/reference/android/com/google/firebase/firestore/FieldValue) As you can see here, it has a lot of values other than `delete`. So maybe in the future I could add some of them as well. Also, for...
Oops, you are correct. `FileValue` however does exist in the web API, and is implemented in the REST API using [FieldTransform](https://firebase.google.com/docs/firestore/reference/rest/v1beta1/Write#FieldTransform). It is however not necessary for the `delete` method,...
Again, `removeDocumentFields` is nice, but sometimes I need to both update fields and remove fields at the same time. Can I maybe add a `advancedDocumentUpdate` function, which would act like...
I'm sorry, but I don't agree with you. This functionality is not available, because if for example I have 3 fields, and I want to update one, delete another, and...
Yes, that is indeed what my PR does, and also the mask is a list, just forgot to update that it is a list in one JSDoc, I would update...
Could you re-open my PR so that I would be able to add new commits to it?
Same here