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 26abb06 commit 3145e8dCopy full SHA for 3145e8d
packages/firestore/lib/index.d.ts
@@ -720,6 +720,11 @@ export namespace FirebaseFirestoreTypes {
720
* });
721
* ```
722
*
723
+ * Please be careful using this operator. If writes happen to the field *on the backend / out of your control* to this field
724
+ * in rapid succession - multiple writes in a second or two, *some increments will be lost*.
725
+ * This may be avoided by using the special increment field in a transaction.
726
+ * See https://github.com/invertase/react-native-firebase/discussions/5914
727
+ *
728
* @param n The value to increment by.
729
*/
730
static increment(n: number): FieldValue;
0 commit comments