so i\'ve read all the documentation everything about increment a counter in a Firestore database. I have this code
const admin = require(\"firebase-admin\"); co
For anyone having issues with this, be careful to use the .update() method instead .set(). Also you need to have a value existing in the firestore that so it has something to increment.
.update()
.set()