chore(docs): update with deterministic order
|
Before Width: | Height: | Size: 542 B After Width: | Height: | Size: 508 B |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 635 B |
|
Before Width: | Height: | Size: 635 B After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 508 B After Width: | Height: | Size: 668 B |
|
Before Width: | Height: | Size: 134 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 542 B |
|
Before Width: | Height: | Size: 668 B After Width: | Height: | Size: 134 KiB |
@@ -28,7 +28,7 @@ To do so:
|
||||
5. Press "Write Changes" in the main toolbar.
|
||||
6. Close the application or close the database.
|
||||
|
||||

|
||||

|
||||
|
||||
### Using the SQLite CLI
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 508 B After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 508 B |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 542 B |
@@ -3,7 +3,7 @@ The SQL Console is Trilium's built-in database editor.
|
||||
|
||||
It can be accessed by going to the [global menu](../../../Basic%20Concepts/UI%20Elements) → Advanced → Open SQL Console.
|
||||
|
||||

|
||||

|
||||
|
||||
### Interaction
|
||||
|
||||
@@ -11,18 +11,18 @@ It can be accessed by going to the [global menu](../../../Basic%20Concepts/UI%20
|
||||
|
||||
* Only one SQL statement can be run at once.
|
||||
|
||||
* To run the statement, press the icon.
|
||||
* To run the statement, press the icon.
|
||||
|
||||
* For queries that return a result, the data will displayed in a table.
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
### Saved SQL console
|
||||
|
||||
SQL queries or commands can be saved into a dedicated note.
|
||||
|
||||
To do so, simply write the query and press the button. Once saved, the note will appear in [Day Notes](../../Advanced%20Showcases/Day%20Notes.md).
|
||||
To do so, simply write the query and press the button. Once saved, the note will appear in [Day Notes](../../Advanced%20Showcases/Day%20Notes.md).
|
||||
|
||||
* The SQL expression will not be displayed by default, but it can still be viewed by going to the note context menu and selecting _Note source_.
|
||||
* The expression cannot be modified. If needed, recreate it by copying the statement back into the SQL console and then saving it again.
|
||||
|
Before Width: | Height: | Size: 542 B After Width: | Height: | Size: 35 KiB |