Skip to content
Discussion options

You must be logged in to vote

https://firebase.google.com/docs/firestore/manage-data/add-data#update-data
row.autoAgentRef.update({"alertUnseenLinkPotBuyer": 1}) should work for general updates
to increment

 const { FieldValue } = require("firebase-admin/firestore");
 const incrementBy1 = FieldValue.increment(1);
 row.autoAgentRef.update({"alertUnseenLinkPotBuyer": incrementBy1})

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@webwurm
Comment options

Answer selected by webwurm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants