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 123c98a commit e709ef9Copy full SHA for e709ef9
firestore/main/index.js
@@ -280,7 +280,6 @@ function updateDocumentIncrement(db) {
280
var washingtonRef = db.collection('cities').doc('DC');
281
282
// Atomically increment the population of the city by 50.
283
- // Note that increment() with no arguments increments by 1.
284
var popIncrement = washingtonRef.update({
285
population: admin.firestore.FieldValue.increment(50)
286
});
0 commit comments