We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4060827 commit 5dc299eCopy full SHA for 5dc299e
docs/firestore/usage/index.md
@@ -437,7 +437,7 @@ firestore().doc('users/ABC').update({
437
Cloud Firestore also allows for storing arrays. To help manage the values with an array (adding or removing) the API
438
exposes an `arrayUnion` and `arrayRemove` methods on the [`FieldValue`](/reference/firestore/fieldvalue) class.
439
440
-To add a new value to an array (if it does not exist):
+To add a new value to an array (if value does not exist, will not add duplicate values):
441
442
```js
443
firestore()
@@ -447,7 +447,7 @@ firestore()
447
});
448
```
449
450
-To remove a value from the array (if it exists):
+To remove a value from the array (if the value exists):
451
452
453
0 commit comments