# tpope/vim-dadbod

dadbod.vim: Modern database interface for Vim

Repository: https://github.com/tpope/vim-dadbod
Canonical: https://ross.abutalabs.com/products/vim-dadbod
Homepage: https://www.vim.org/scripts/script.php?script_id=5665
Language: Vim Script
License Family: other
Last push: 2026-01-07T00:19:08+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 61, release rhythm 35, longevity 100
- inputs: {"age_days": 3100, "days_push": 239, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4435, forks 164 (observed 2026-08-28T04:08:49.271722+00:00)

## What it is
A Vim plugin providing a modern database interface through a single :DB command with URL-based connection strings. It supports many SQL and NoSQL backends including PostgreSQL, MySQL, SQLite, MongoDB, and Redis.

## Use cases
- run sql queries from vim
- query postgres from my editor
- vim plugin for database access
- execute sql on a buffer selection
- connect to redis or mongodb from vim
- replace dbext.vim with something simpler

## When to choose
- you live in Vim and want to run queries without leaving the editor
- you want one simple URL-based command instead of dozens of dbext commands
- you need to support many database backends including NoSQL
- you want per-project database configuration

## When to avoid
- you use VS Code or another editor - use a database extension for that editor instead
- you need a full GUI database client with schema browsing - use dadbod-ui or DBeaver
- you don't use Vim

## Facets
- artifact type: plugin
- maturity: active
- function: database, database-driver, developer-tools
- domain: databases, developer-tools, text-editors
- platform: editor-plugin, cross-platform
- tags: vim-plugin, sql, editor-integration, database-client, vimscript, vim

## Member repositories
- tpope/vim-dadbod (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:49.271722+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:20:52.787713+00:00, confidence not recorded.
  - readme: https://github.com/tpope/vim-dadbod (fetched 2026-08-28T04:08:49.271722+00:00, sha 27d91646680b)
  - homepage: https://www.vim.org/scripts/script.php?script_id=5665 (fetched 2026-08-29T09:08:10.598218+00:00, sha cc4ef054b9d3)
  - site_page: https://www.vim.org/about.php (fetched 2026-08-29T09:08:10.607529+00:00, sha 1bd2c1907ce5)
  - site_page: https://www.vim.org/docs.php (fetched 2026-08-29T09:08:10.609898+00:00, sha 438015e9e2e2)
  - site_page: http://www.vim.org/about.php (fetched 2026-08-29T09:08:10.611807+00:00, sha fbe78bde9535)
- Data as of 2026-08-30T08:39:29.467469+00:00.
