kndndrj / nvim-dbee

Interactive database client for neovim
GNU General Public License v3.0
606 stars 39 forks source link

timeout for executing queries #85

Open teto opened 5 months ago

teto commented 5 months ago

because I am an idiot I started using the plugin without reading the README and though :Dbee execute was running the command in the buffer. Problem is the request was taking forever... after some investigation and reading the README, I realized "BB" would execute the query in the buffer and that :Dbee execute was expecting the query afterwards.

Some possible improvements:

  1. ability to set a timeout for queries
  2. fail when :Dbee execute has an empty query

NB: the UX of dbee is excellent. It's not easy to make nice UX with neovim but you did it as I would expect so kudos.

kndndrj commented 2 months ago

Good suggestions, thanks.