# Harlequin

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

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

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

## Using Harlequin with MotherDuck or your local DuckDB database

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.paradime.io/app-help/integrations/harlequin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
