Replies: 5 comments
-
The transaction and batched write are not implemented in this library and it's not really what you expected. The commit covers all requirements. You need to read the commit document and test it yourself because of it flexibilities. |
Beta Was this translation helpful? Give feedback.
-
The document you should read is REST API only. |
Beta Was this translation helpful? Give feedback.
-
The library provides most Firestore functions that covers all usages and you should known the Firestore features and its REST API well for adaptation. |
Beta Was this translation helpful? Give feedback.
-
The updateMask in the write opject is what you need to understand. |
Beta Was this translation helpful? Give feedback.
-
It was because of the masks....I had tried before, but didn't do it the correct way. Working now. Thanks mobizt! |
Beta Was this translation helpful? Give feedback.
-
If I want to update only a single value, patch works without deleting other fields. When attempting to update a single value using batch commit with type update, it erases the other values not being updated. Is there a way to perform a batch and only patch a single value? Reading documentation looks like there might be a set function, but not confident this is solution and esp-client documentation only includes transform, delete and update.
https://firebase.google.com/docs/firestore/manage-data/transactions
Beta Was this translation helpful? Give feedback.
All reactions