kndndrj / nvim-dbee

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

feat: add current_database_changed event bus #90

Closed MattiasMTS closed 2 months ago

MattiasMTS commented 4 months ago

New feature which allows exposure of events if the database has changed.

This is useful for cmp-dbee to request a new "structure" of the database even if the connection stays the same.

I wanted to add this to e.g. "current_connection_change" but since some adapters don't have the concept of "databases" I decided to add a new one to have clean separation.

kndndrj commented 2 months ago

renamed the event and added the affected connection id. merging now.