> For the complete documentation index, see [llms.txt](https://fivesobes.gitbook.io/cherry3/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fivesobes.gitbook.io/cherry3/other-operators/update-operators/usdinc.md).

# $inc

| Name                                                  | Usage Type                                    | Description                                                                                                        |
| ----------------------------------------------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| <mark style="background-color:green;">**$inc**</mark> | <mark style="color:orange;">**Object**</mark> | <mark style="background-color:yellow;">**$inc Operator Performs Addition as Addition to Number Type Data.**</mark> |

```javascript
/* Example Usage */
const model = ...Someone Model

(async () => {

await model.findOneAndUpdate({ name: "Test", age: 20 },{ $inc:{ age: 2 } });
/*
The "age" value that was 20 is now 22
*/

})();

```
