Skip to content

Commit e709ef9

Browse files
committed
Remove bad reference to no-arg increment
Change-Id: I307167514d07fafaf9f6fa8ad1cea46a7867f6e0
1 parent 123c98a commit e709ef9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

firestore/main/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@ function updateDocumentIncrement(db) {
280280
var washingtonRef = db.collection('cities').doc('DC');
281281

282282
// Atomically increment the population of the city by 50.
283-
// Note that increment() with no arguments increments by 1.
284283
var popIncrement = washingtonRef.update({
285284
population: admin.firestore.FieldValue.increment(50)
286285
});

0 commit comments

Comments
 (0)