# $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
*/

})();

```
