joereynolds / SQHell.vim

An SQL wrapper for vim
MIT License
132 stars 9 forks source link

Allow to specify database in mysql connection #50

Closed petobens closed 6 years ago

petobens commented 6 years ago

The MySql connection should allow to specify a database. This allow queries that were written like this:

SELECT * FROM my_database.my_table

to be written like SELECT * FROM my_table.

Thanks in advance (excellent plugin BTW)

joereynolds commented 6 years ago

Hi!

Glad you like it :D I'll look at getting this done when I have the time

joereynolds commented 6 years ago
joereynolds commented 6 years ago

Hey @petobens

This is done, care to try it out? https://github.com/joereynolds/SQHell.vim/commit/d1cd6cfd7c5aa84259d2b759cd51f12673339420

Thanks!

petobens commented 6 years ago

Seems to work great! Thanks