tpope/vim-dadbod has 4,462 GitHub stars and 167 forks. GitHot measured +1 stars in 24 hours and +4 in 7 days. Last checked 2026-11-12 09:39 UTC. Last push 2026-01-07.
dadbod.vim: Modern database interface for Vim
計測したスター増加
- 24時間
- +1
- 7日間
- +4
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルdadbod.vim
Dadbod is a Vim plugin for interacting with databases. It's a more modern take on dbext.vim, improving on it on the following ways:
- Connections are specified with a single URL, rather than prompting you for 14 separate variables
- All interaction is through invoking
:DB, not 53 different commands and 35 different maps (omitting many of the more esoteric features, of course) - Supports a modern array of backends, including NoSQL databases:
- Big Query
- ClickHouse
- DuckDB
- Impala
- jq
- MongoDB
- MySQL
- MariaDB
- Oracle
- osquery
- PostgreSQL
- Presto
- Redis
- Snowflake
- SQL Server
- SQLite
- Your own easily implemented adapter
- Easily configurable based on a project directory (as seen in rails.vim, for example), rather than just globally or in a per-file modeline
- For those that just can't live without some piece of dbext functionality,
the option
g:dadbod_manage_dbextis provided to force dbext to use Dadbod's default database.
Usage
The :DB command has a few different usages. All forms accept a URL as the
first parameter, which can be omitted if a default is configured or provided
by a plugin.
Omit further arguments to spawn an interactive console (like psql or
redis-cli).
:DB postgresql:///foobar
:DB redis:
If additional arguments are provided, they are interpreted as a query string to pass to the database. Results are displayed in a preview window.
:DB sqlite:myfile.sqlite3 select count(*) from widgets
:DB redis:/// CLIENT LIST
Give a range to run part or all of the current buffer as a query.
:%DB mysql://root@localhost/bazquux
Use < to pass in a filename.
:DB mongodb:///test < big_query.js
There's also a special assignment syntax for saving a URL to a Vim variable for later use.
:DB g:prod = postgres://user:[email protected]/production_database
:DB g:prod drop table users
A few additional URL like formats are accepted for interop:
:DB jdbc:sqlserver://...:DB dbext:profile=profile_name:DB dbext:type=PGSQL:host=...:DB $DATABASE_URL(with optional dotenv.vim support)
Plugins can provide their own URL handlers as well. For example,
heroku.vim provides support for heroku:appname style URLs.
If you want to manage multiple connections at once through UI, try dadbod-ui.
Installation
Install using your favorite package manager, or use Vim's built-in package support:
mkdir -p ~/.vim/pack/tpope/start
cd ~/.vim/pack/tpope/start
git clone https://tpope.io/vim/dadbod.git
vim -u NONE -c "helptags dadbod/doc" -c q
Promotion
Like dadbod.vim? Star the repository on GitHub and vote for it on vim.org.
Love dadbod.vim? Follow tpope on GitHub and Twitter.
License
Copyright © Tim Pope. Distributed under the same terms as Vim itself.
See :help license.
関連プロジェクトを探す
Asabeneh/30-Days-Of-Python
30 Days of Python プログラミングチャレンジは、Python プログラミング言語を 30 日で学ぶためのステップバイステップのガイドです。このチャレンジは 100 日以上かかることもあります。自分のペースで進めてください。こちらの動画も役立つかもしれません: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,618 スターgrafana/grafana
オープンで組み合わせ可能なオブザーバビリティおよびデータ可視化プラットフォームです。Prometheus、Loki、Elasticsearch、InfluxDB、Postgres など、複数のソースからメトリクス、ログ、トレースを可視化できます。
77,859 スターredis/redis
リアルタイムのデータ駆動型アプリケーションを構築する開発者にとって、Redis は最も選ばれ、最速で、機能が最も豊富なキャッシュ、データ構造サーバー、ドキュメントおよびベクトルクエリエンジンです。
77,472 スターapache/superset
Apache Superset は、データ可視化とデータ探索のためのプラットフォームです。
75,495 スター