# Harlequin

Paradime provides an integration with the Harlequin -  an easy, fast, and feature rich database client for the terminal.&#x20;

This enabled you to query and explore data in your [MotherDuck or DuckDB](https://docs.paradime.io/app-help/documentation/settings/connections/development-environment/duckdb) local database directly fromr the Paradime Code ID.

{% embed url="<https://harlequin.sh/>" %}

## Using Harlequin with MotherDuck or your local DuckDB database

{% @arcade/embed flowId="7sMI29MGyQJ0g5ex6uBb" url="<https://app.arcade.software/share/7sMI29MGyQJ0g5ex6uBb>" %}

Open the Paradime terminal and run one of the following commands:

* To launch Harlequin and connect to MotherDuck run:

```bash
harlequin "md:"
```

* To launch Harlequin and connect to your local DuckDB database run:

```bash
harlequin "path/to/duck.db"
```

## Features

### Data Catalog

View tables, columns, and their types across one or more attached databases.

### Query Editor

A full-featured editor: autocomplete, open, save, format, cut, copy, paste, and more. Supports multiple tabbed buffers!

### Results Viewer

View 1M+ results in an interactive table. Multiple queries loaded into separate tabs.

### Full Screen

Need more room? Press F10 to view the Editor or Results in full-screen mode. Need even more space? right-click on the terminal tab and select Toggle Maximized to expand to full screen mode.

### Results Export

Export query results and configure the export using a helpful UI.

***

{% hint style="info" %}
To access all of the above features and more, check the Harlequin docs at the link below.
{% endhint %}

{% embed url="<https://harlequin.sh/docs/bindings>" %}
