---
description: Clear the database. This function directly calls openadapt.scripts.reset_db.
---

# clear\_db (function)

## Syntax

```python
def clear_db(log: console.Console) -> None:
```

## Parameters

`log`

a `openadapt.app.objects.console` object, to clear.
