{"id":19370585,"url":"https://github.com/evidence-dev/sqltools-duckdb-driver","last_synced_at":"2025-04-23T15:32:31.380Z","repository":{"id":186229680,"uuid":"667966437","full_name":"evidence-dev/sqltools-duckdb-driver","owner":"evidence-dev","description":"DuckDB Driver for SQLTools","archived":false,"fork":false,"pushed_at":"2024-12-02T22:39:48.000Z","size":52847,"stargazers_count":25,"open_issues_count":14,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-22T17:46:01.810Z","etag":null,"topics":["duckdb","sqltools","sqltools-driver"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=Evidence.sqltools-duckdb-driver","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evidence-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-18T17:49:44.000Z","updated_at":"2025-04-12T20:36:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"4005523a-51a1-4906-934f-f713ea9877e3","html_url":"https://github.com/evidence-dev/sqltools-duckdb-driver","commit_stats":{"total_commits":43,"total_committers":4,"mean_commits":10.75,"dds":0.06976744186046513,"last_synced_commit":"4f65f8b8679e5c816a34de1bfda41e913728fa26"},"previous_names":["evidence-dev/sqltools-duckdb-driver"],"tags_count":1,"template":false,"template_full_name":"mtxr/vsc-sqltools-driver-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evidence-dev%2Fsqltools-duckdb-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evidence-dev%2Fsqltools-duckdb-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evidence-dev%2Fsqltools-duckdb-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evidence-dev%2Fsqltools-duckdb-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evidence-dev","download_url":"https://codeload.github.com/evidence-dev/sqltools-duckdb-driver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250460653,"owners_count":21434270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["duckdb","sqltools","sqltools-driver"],"created_at":"2024-11-10T08:16:01.541Z","updated_at":"2025-04-23T15:32:30.651Z","avatar_url":"https://github.com/evidence-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n# \u003cimg src=\"https://github.com/evidence-dev/sqltools-duckdb-driver/blob/master/icons/default.png?raw=true\"  style=\"height:1em;\"/\u003e VS Code SQLTools for DuckDB \n\nQuery and explore [DuckDB](https://duckdb.org/) databases in VSCode.\n\n## Latest DuckDB Support: v1.0.0\n\nA VSCode extension that extends [SQLTools](https://marketplace.visualstudio.com/items?itemName=mtxr.sqltools), with a driver for DuckDB.\n\nThis driver is maintained by [Evidence](https://evidence.dev): Publish BI reports with just SQL and Markdown.\n\n## Install\n\nInstall from the [VSCode Marketplace](https://marketplace.visualstudio.com/items?itemName=Evidence.sqltools-duckdb-driver).\n\n## Features\n\n- Latest DuckDB support (currently 1.0.0)\n- **Connect** to a local, in-memory or MotherDuck (via service token) DuckDB instance\n- **Run queries** against a DuckDB instance\n- **Explore DB** tables and columns in the sidebar\n- **View** table results by selecting them in the sidebar\n- **Autocomplete** for common keywords (e.g. SELECT, FROM, WHERE) and table names\n- **Read/Write** connections\n\n### Connect Local and In-Memory DBs\n\n![Connect Local DB](https://github.com/evidence-dev/sqltools-duckdb-driver/blob/master/docs/images/connect-local-db.gif?raw=true)\n\n![Connect In-Memory DB](https://github.com/evidence-dev/sqltools-duckdb-driver/blob/master/docs/images/connect-in-memory-db.gif?raw=true)\n### Run Query\n\n![Run Query](https://github.com/evidence-dev/sqltools-duckdb-driver/blob/master/docs/images/run-query.gif?raw=true)\n\n### Explore DB\n\n![Explore DB](https://github.com/evidence-dev/sqltools-duckdb-driver/blob/master/docs/images/explore-db.gif?raw=true)\n\n### Autocomplete\n\n![Autocomplete](https://github.com/evidence-dev/sqltools-duckdb-driver/blob/master/docs/images/autocomplete.gif?raw=true)\n\n### Read/Write Connections\n\nDuckDB has two access modes:\n1. **Read/Write:** One process can both read and write to the database.\n2. **Read Only:** Multiple processes can read from the database, but no processes can write. \n\nIf you open another connection to a database that is already open in read/write mode, you may get an error. Close the read/write connection to resolve this.\n\n[More Info](https://duckdb.org/faq#how-does-duckdb-handle-concurrency)\n\n## Not Supported\n- Loading extensions not included in the [default Node.js installation](#DuckDB-Extensions-Supported)\n\n## DuckDB Extensions Supported\n\nFor clarity, the following DuckDB extensions are supported\n\n| Extension        | Supported |\n|------------------|-----------|\n| arrow            |           |\n| autocomplete     |           |\n| fts              |           |\n| httpfs           |           |\n| icu              | 1         |\n| inet             |           |\n| jemalloc         |           |\n| json             | 1         |\n| motherduck       | 1         |\n| parquet          | 1         |\n| postgres_scanner |           |\n| spatial          |           |\n| sqlite_scanner   |           |\n| tpcds            |           |\n| tpch             |           |\n\n\n## MotherDuck\nTo use MotherDuck, you need your [service token](https://motherduck.com/docs/authenticating-to-motherduck#fetching-the-service-token).\n\nYou should use the filename `md:?motherduck_token=\u003cyour token\u003e` when connecting to MotherDuck.\n\n## Contributing\n\n- If you encounter bugs or have feature requests, feel free to open an issue.\n- PRs welcome\n\n### Maintained by [\u003cimg src=\"https://github.com/evidence-dev/sqltools-duckdb-driver/blob/master/docs/images/evidence.png?raw=true\"  style=\"height:1em;\"/\u003e](https://www.evidence.dev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevidence-dev%2Fsqltools-duckdb-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevidence-dev%2Fsqltools-duckdb-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevidence-dev%2Fsqltools-duckdb-driver/lists"}