Issue #3 open
Ondřej Doněk
repo owner created an issue

Description

Enable of saving SQL queries into the used database or to user settings. These storred queries can use categories.

Parts

Main window

  • Add new sidebar with navigator for storred queries. This navigator will have two root items - one for global queries storred in user preferences, second for queries that are storred in currently used database - if any of storage option is disabled than corresponding root item is also disabled. Query archive should also provides tools for managing categories and queries (toolbar, drag and drop).
  • Add new toolbar button with menupopup - Save SQL -> Global query | Used database only.

Preferences

Add these preferences:

[x] Enable saving SQL queries
   [x] Allow to store queries in user settings
   [x] Allow to store queries in selected database

If you want to have enabled Query archive than at least one type of storage.