Reading a blog post and the docs, I found that we can increment a value using FieldValue but I cound\'t find a decrement function.
FieldValue
document(\"fitnes
There is no need for a decrement function, simply pass a negative value to the actual increment() function:
increment()
document("fitness_teams/Team_1"). updateData(["step_counter" : FieldValue.increment(-500)])
And the value of your step_counter field will be decremented by 500.
step_counter