I think we could print the table name in the dbout files or something like that. Then we just need to parse that line and so we could create custom abstracted queries on each table.
This would be, for example:
parse the table value in the output
an autocommand to read that value and set into a variable
the user can run dynamically a query using a keymap on something like this:
delete from TABLE_ENVVAR WHERE id = $parsed_as_well_on_cursor_position
I think we could print the table name in the dbout files or something like that. Then we just need to parse that line and so we could create custom abstracted queries on each table.
This would be, for example:
delete from TABLE_ENVVAR WHERE id = $parsed_as_well_on_cursor_position
This would solve a couple of issues posted here