# Modify

## Modify Record Content (JSON Only)

Change the Record's key's value to something.

```javascript
db.setValue('tag','key','value')
```

### Parameters

<table><thead><tr><th>Name</th><th>About</th><th>Type</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>tag</td><td>The Record's tag</td><td>String</td><td>true</td></tr><tr><td>key</td><td>The key to change</td><td>String</td><td>true</td></tr><tr><td>value</td><td>The value to set to</td><td>String</td><td>true</td></tr></tbody></table>

## Overwrite Record Content

Overwrite a Record found by it's tag.

```javascript
db.overwrite('tag',data)
```

### Parameters

<table><thead><tr><th>Name</th><th>About</th><th>Type</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>tag</td><td>The Record's tag</td><td>String</td><td>true</td></tr><tr><td>data</td><td>The data to overwrite with</td><td>Any (must match file extension)</td><td>true</td></tr></tbody></table>

## Modify Record's tag

Change a Record's tag found by its current tag.

```javascript
db.setTag('old','new')
```

### Parameters

<table><thead><tr><th>Name</th><th>About</th><th>Type</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>old_tag</td><td>The current tag of the Record.</td><td>String</td><td>true</td></tr><tr><td>new_tag</td><td>The new tag you want for the Record.</td><td>String</td><td>true</td></tr></tbody></table>
