---
description: To subtract a numeric value into a key which stores a numeric datatype.
---

# Subtract

Example:-

```javascript
const db = require('hive-db')

db.subtract('bio.age',1);
// output on 'getting' the value => 21
```
