kristijanhusak / vim-dadbod-ui

Simple UI for https://github.com/tpope/vim-dadbod
MIT License
1.36k stars 70 forks source link

[Feature request] Easily edit data in row #252

Open s1nistr4 opened 1 week ago

s1nistr4 commented 1 week ago

The most important reason to to use a SQL ui is to be able to just edit data in a row without executing sql commands. In vim-dadbod-ui as of now you can't do this. Instead you have to exec something like this:

UPDATE table_name SET col = val1, column2 = value2 WHERE condition;

Which is very cumbersome and prone to errors, it's just not very feasible when testing or debugging an application. It would be cool to just open a table in neovim, highlight a row, press the "e" key and edit the data in it, like you can in sqlitebrowser and any of the webuis for various databases.