> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paradime.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Harlequin

export const Arcade = ({src, title}) => <div style={{
  position: 'relative',
  paddingBottom: 'calc(56.2225% + 41px)',
  height: 0,
  width: '100%'
}}>
    <iframe src={src} title={title} frameBorder="0" loading="lazy" allow="clipboard-write" allowFullScreen style={{
  position: 'absolute',
  top: 0,
  left: 0,
  width: '100%',
  height: '100%',
  colorScheme: 'light'
}} />
  </div>;

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](/products/settings/connections/development-environment/duckdb) local database directly fromr the Paradime Code ID.

[https://harlequin.sh/](https://harlequin.sh/)

## Using Harlequin with MotherDuck or your local DuckDB database

<Arcade src="https://demo.arcade.software/7sMI29MGyQJ0g5ex6uBb?embed&embed_mobile=tab&embed_desktop=inline&show_copy_link=true" title="Harlequin" />

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

* To launch Harlequin and connect to MotherDuck run:

```bash theme={"system"}
harlequin "md:"
```

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

```bash theme={"system"}
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.

***

<Info>
  To access all of the above features and more, check the Harlequin docs at the link below.
</Info>

[https://harlequin.sh/docs/bindings](https://harlequin.sh/docs/bindings)


## Related topics

- [MotherDuck](/products/settings/connections/development-environment/motherduck.md)
- [DuckDB](/products/settings/connections/development-environment/duckdb.md)
