documentation

This commit is contained in:
eelke 2022-09-08 09:42:51 +02:00
parent c942d0a446
commit 92f924f738
4 changed files with 50 additions and 2 deletions

View file

@ -60,6 +60,7 @@ the sort order.
Tables
======
Double clicking a table will open a crud tab for that tabel
Note the sizes are retrieved in the background and can take some time to appear
on large databases.
@ -76,3 +77,24 @@ When a row is selected SQL for dropping or creating that column and also
to just fix the default or NULL constraint this is useful when inspecting
one database to correct another. When multiple rows are selected SQL for all
those rows is shown.
*********
Crud tabs
*********
If the table had no primary key the data will be readonly. Generated always
columns will ofcourse also be readonly. Use :kbd:`tab` to go from one field to
the next accept your changes with :kbd:`Enter`. To enter a value for a boolean
column use :kbd:`t` for true or :kbd:`f` for false.
An empty value will be seen as a NULL to enter an empty string use two single quotes ''.
When data is saved the program will generate INSERT and UPDATE queries that
return the data that was actually put in the database by the server and update
the data in the grid to match. This includes data for generated columns.
Shortcuts:
* :kbd:`Ctrl+D` delete selected rows.
* :kbd:`F5` reload data
* :kbd:`Ctrl+W` close tab