This post is marked as solved. If you think the information contained on this thread must be part of the
official documentation, please contribute submitting a
pull request to its repository.
In Mongo, I want to update all 'age' field to increase by 2.
How to operate?
in the sql
update user set age=age+2
It's not question about Phalcon but read https://docs.mongodb.com/manual/reference/operator/update/inc/ - it's solve you problem