#655 SQL Client

open
nobody
None
5
2013-03-18
2013-03-18
druuhl
No

Hi,
often i use geany to edit SQL and i wish i can execute the query directly from the Editor and get back the results. I know there is Squirrel SQL but that is a little oversized/slow/java/gnarf/... for me.
It was nice you are implement this, special for mysql, postgres/sybase ;).

Have a nice Day
druuhl

Discussion

  • Lex Trotman
    Lex Trotman
    2013-03-18

    It should be more general than just SQL, like the current custom and context commands.

    Currently the context action commands run the command substituting the selection in the command but the output isn't gathered, and the custom commands run the command with the selection as standard input and gather the output and substitute it in the document.

    What is needed is an in-between that doesn't substitute the output in the document, but doesn't throw it away either, maybe displaying it in the messages window.

    The input method should be via standard input to accommodate multi-line input.

    This command could then be configured to do useful things for any language not just SQL.

     
  • frlan
    frlan
    2013-03-19

    I think a specific SQL_plugin would be the better idea instead of adding some to generic to core.