kndndrj / nvim-dbee

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

Open UI over a file instead of a note #132

Open rudiejd opened 1 month ago

rudiejd commented 1 month ago

I might just be oblivious here, but is there any simple way to open the DBee UI over a certain file instead of launching the notes folder every time this UI is opened? I would like to use DBee as a REPL for SQL scripts that I'm writing, but they're version-controlled as .sql files and it's inconvenient to copy them into the note files and/or configure all of my SQL repositories as note sources

walkabout21 commented 1 week ago

This is my use case as well. I end up copying code from my repo into the note to run and then copying back if I need to make edits. Opening and running on an existing sql file would save me a lot of time.