{"repo":"praem90/db.nvim","free":true,"listed":false,"github":"https://github.com/praem90/db.nvim","clone":"git clone https://github.com/praem90/db.nvim.git","description":"Connect, query, and explore your databases without leaving your Neovim","language":"Lua","stars":21,"topics":["database","lua","mysql","neovim","neovim-plugin"],"license":null,"category":"databases-storage","readme_excerpt":"db.nvim db.nvim is a Neovim plugin designed to bring database interaction and management directly into your editor, allowing you to connect to, query, and explore your databases without leaving your Neovim environment. Features - Seamless Database Connectivity: Connect to various database systems directly within Neovim. - Execute Queries with Ease: Run SQL queries on the fly from your Neovim buffers. - Intuitive Result Viewing: View query results cleanly displayed in a dedicated buffer. - Effortless Database Exploration: Navigate and inspect database schemas, tables, and columns. --- Getting Started Installation Use your preferred plugin manager to install db.nvim . Using lazy.nvim : Configuration db.nvim requires a setup() call with a connections table to define your database connections. The plugin currently supports MySQL only . More database drivers will be added in future updates. Here is an example of a basic setup with a local MySQL connection: Usage To connect to a database Once connected the database, open any sql file and save it or enter in normal mode to run the query Select query in visual mode and then hit enter to run the query To list tables from the selected connection. To show histories Statusline Integration db.nvim provides two functions to display the current connection status and active database in your statusline. This is a great way to always know which database you are working with. You can add these components to your statusline configuration (e.g., ","default_branch":null,"files":null,"tree":[],"storefront":"/r/praem90","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/praem90/db.nvim/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}