docs(user): refresh photo for SQL console

This commit is contained in:
Elian Doran 2026-01-18 17:35:01 +02:00
parent bfc521fdc0
commit 97dfad419c
No known key found for this signature in database
13 changed files with 83 additions and 101 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 B

After

Width:  |  Height:  |  Size: 74 KiB

View File

@ -1,36 +1,30 @@
<p>The SQL Console is Trilium's built-in database editor.</p> <p>The SQL Console is Trilium's built-in database editor.</p>
<p>It can be accessed by going to the <a href="#root/_help_Vc8PjrjAGuOp">global menu</a> <p>It can be accessed by going to the&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/Vc8PjrjAGuOp/_help_x3i7MxGccDuM">Global menu</a>&nbsp;
Advanced → Open SQL Console.</p> Advanced → Open SQL Console.</p>
<p> <p>
<img src="SQL Console_image.png"> <img src="SQL Console_image.png">
</p> </p>
<h3>Interaction</h3> <h3>Interaction</h3>
<ul> <ul>
<li> <li>Hovering the mouse over one of the tables listed at the top of the document
<p>Hovering the mouse over one of the tables listed at the top of the document will show the columns and their data type.</li>
will show the columns and their data type.</p> <li>Only one SQL statement can be run at once.</li>
</li> <li>To run the statement, press the <em>Execute</em> icon.</li>
<li> <li>For queries that return a result, the data will displayed in a table.</li>
<p>Only one SQL statement can be run at once.</p>
</li>
<li>
<p>To run the statement, press the
<img src="3_SQL Console_image.png">icon.</p>
</li>
<li>
<p>For queries that return a result, the data will displayed in a table.</p>
<p>
<img src="1_SQL Console_image.png">
</p>
</li>
</ul> </ul>
<figure class="image">
<img style="aspect-ratio:1124/571;" src="2_SQL Console_image.png"
width="1124" height="571">
</figure>
<h3>Saved SQL console</h3> <h3>Saved SQL console</h3>
<p>SQL queries or commands can be saved into a dedicated note.</p> <p>SQL queries or commands can be saved into a dedicated note.</p>
<p>To do so, simply write the query and press the <p>To do so, simply write the query and press the
<img src="2_SQL Console_image.png">button. Once saved, the note will appear in&nbsp;<a href="#root/_help_l0tKav7yLHGF">Day Notes</a>.</p> <img src="1_SQL Console_image.png">button. Once saved, the note will appear in&nbsp;<a class="reference-link"
href="#root/pOsGYCXsbNQG/tC7s2alapj8V/5668rwcirq1t/_help_l0tKav7yLHGF">Day Notes</a>.</p>
<ul> <ul>
<li>The SQL expression will not be displayed by default, but it can still <li>The SQL expression will not be displayed by default, but it can still
be viewed by going to the note context menu and selecting <em>Note source</em>.</li> be viewed by going to the note context menu and selecting <em>Note source</em>.</li>
<li>The expression cannot be modified. If needed, recreate it by copying the <li
>The expression cannot be modified. If needed, recreate it by copying the
statement back into the SQL console and then saving it again.</li> statement back into the SQL console and then saving it again.</li>
</ul> </ul>

View File

@ -27,31 +27,28 @@
<ul> <ul>
<li>Attachments</li> <li>Attachments</li>
<li>The hierarchy of headings (these are shifted to start with H2 because <li>The hierarchy of headings (these are shifted to start with H2 because
H1 is reserved for note title, see&nbsp;<a href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/iPIMuisry3hd/_help_Gr6xFaF6ioJ5">Headings</a>)</li> H1 is reserved for note title, see&nbsp;<a href="#root/_help_Gr6xFaF6ioJ5">Headings</a>)</li>
<li <li>Tables</li>
>Tables</li> <li>Bulleted lists</li>
<li>Bulleted lists</li> <li>Numbered lists</li>
<li>Numbered lists</li> <li>Bold</li>
<li>Bold</li> <li>Italics</li>
<li>Italics</li> <li>Strikethrough</li>
<li>Strikethrough</li> <li>Highlights</li>
<li>Highlights</li> <li>Font colors</li>
<li>Font colors</li> <li>Soft line breaks</li>
<li>Soft line breaks</li> <li>External links</li>
<li>External links</li>
</ul> </ul>
<p>However, we do not guarantee that all of your formatting will be imported <p>However, we do not guarantee that all of your formatting will be imported
100% correctly.</p> 100% correctly.</p>
<h2>Limitations</h2> <h2>Limitations</h2>
<ul> <ul>
<li>The size limit of one import is 250Mb. If the total size of your files <li>The size limit of one import is 250Mb. If the total size of your files
is larger, you can increase the&nbsp;<a href="#root/pOsGYCXsbNQG/Otzi9La2YAUX/_help_WOcw2SLH6tbX">upload limit</a>, is larger, you can increase the&nbsp;<a href="#root/_help_WOcw2SLH6tbX">upload limit</a>,
or divide your files, and run the import as many times as necessary.</li> or divide your files, and run the import as many times as necessary.</li>
<li <li>All resources (except for images) are created as notes attachments.</li>
>All resources (except for images) are created as notes attachments.</li> <li>If you have HTML inside ENEX files, the HTML formatting may be broken
<li or lost after import in Trilium. See&nbsp;<a class="reference-link" href="#root/_help_wy8So3yZZlH9">Reporting issues</a>.</li>
>If you have HTML inside ENEX files, the HTML formatting may be broken
or lost after import in Trilium. See&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/BgmBlOIl72jZ/_help_wy8So3yZZlH9">Reporting issues</a>.</li>
</ul> </ul>
<h3>Internal links</h3> <h3>Internal links</h3>
<p>The importer cannot transform Evernote internal links into Trilium internal <p>The importer cannot transform Evernote internal links into Trilium internal

View File

@ -7,21 +7,20 @@
<ul> <ul>
<li><strong>Recommended</strong>: <a href="#root/_help_rWX5eY045zbE">Docker Installation</a> - <li><strong>Recommended</strong>: <a href="#root/_help_rWX5eY045zbE">Docker Installation</a> -
Available for <strong>AMD64</strong> and <strong>ARM</strong> architectures.</li> Available for <strong>AMD64</strong> and <strong>ARM</strong> architectures.</li>
<li <li><a href="#root/_help_3tW6mORuTHnB">Packaged Server Installation</a>
><a href="#root/_help_3tW6mORuTHnB">Packaged Server Installation</a> </li>
</li> <li><a href="https://www.pikapods.com/pods?run=trilium-next">PikaPods managed hosting</a>
<li><a href="https://www.pikapods.com/pods?run=trilium-next">PikaPods managed hosting</a> </li>
</li> <li><a href="#root/_help_J1Bb6lVlwU5T">Manual Installation</a>
<li><a href="#root/_help_J1Bb6lVlwU5T">Manual Installation</a> </li>
</li> <li><a href="#root/_help_DCmT6e7clMoP">Kubernetes</a>
<li><a href="#root/_help_DCmT6e7clMoP">Kubernetes</a> </li>
</li> <li><a href="https://www.cloudron.io/store/com.github.trilium.cloudronapp.html">Cloudron</a>
<li><a href="https://www.cloudron.io/store/com.github.trilium.cloudronapp.html">Cloudron</a> </li>
</li> <li><a href="https://homelabos.com/docs/software/trilium/">HomelabOS</a>
<li><a href="https://homelabos.com/docs/software/trilium/">HomelabOS</a> </li>
</li> <li><a href="#root/_help_moVgBcoxE3EK">NixOS Module</a>
<li><a href="#root/_help_moVgBcoxE3EK">NixOS Module</a> </li>
</li>
</ul> </ul>
<p>The server installation includes both web and <a href="#root/_help_RDslemsQ6gCp">mobile frontends</a>.</p> <p>The server installation includes both web and <a href="#root/_help_RDslemsQ6gCp">mobile frontends</a>.</p>
<h2>Configuration</h2> <h2>Configuration</h2>

View File

@ -1,5 +1,5 @@
# Documentation # Documentation
There are multiple types of documentation for Trilium:<img class="image-style-align-right" src="api/images/5xrV36TRqPj6/Documentation_image.png" width="205" height="162"> There are multiple types of documentation for Trilium:<img class="image-style-align-right" src="api/images/caCZ9hC8HqQa/Documentation_image.png" width="205" height="162">
* The _User Guide_ represents the user-facing documentation. This documentation can be browsed by users directly from within Trilium, by pressing <kbd>F1</kbd>. * The _User Guide_ represents the user-facing documentation. This documentation can be browsed by users directly from within Trilium, by pressing <kbd>F1</kbd>.
* The _Developer's Guide_ represents a set of Markdown documents that present the internals of Trilium, for developers. * The _Developer's Guide_ represents a set of Markdown documents that present the internals of Trilium, for developers.

View File

@ -18,5 +18,5 @@
* [Max content width is not respected when switching between note types in the same tab](https://github.com/TriliumNext/Trilium/issues/8065) * [Max content width is not respected when switching between note types in the same tab](https://github.com/TriliumNext/Trilium/issues/8065)
* [Crash When a Note Includes Itself](https://github.com/TriliumNext/Trilium/issues/8294) * [Crash When a Note Includes Itself](https://github.com/TriliumNext/Trilium/issues/8294)
* [Severe Performance Degradation and Crash Issues Due to Recursive Inclusion in Included Notes](https://github.com/TriliumNext/Trilium/issues/8017) * [Severe Performance Degradation and Crash Issues Due to Recursive Inclusion in Included Notes](https://github.com/TriliumNext/Trilium/issues/8017)
* [<note> is not a launcher even though it's in the launcher subtree](https://github.com/TriliumNext/Trilium/issues/8218) * [is not a launcher even though it's in the launcher subtree](https://github.com/TriliumNext/Trilium/issues/8218)
* [Archived subnotes of direct children appear in grid view without #includeArchived](https://github.com/TriliumNext/Trilium/issues/8184) * [Archived subnotes of direct children appear in grid view without #includeArchived](https://github.com/TriliumNext/Trilium/issues/8184)

View File

@ -6172,17 +6172,31 @@
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "dj3j8dG4th4l", "value": "Gr6xFaF6ioJ5",
"isInheritable": false, "isInheritable": false,
"position": 10 "position": 10
}, },
{ {
"type": "relation", "type": "relation",
"name": "internalLink", "name": "internalLink",
"value": "wy8So3yZZlH9", "value": "WOcw2SLH6tbX",
"isInheritable": false, "isInheritable": false,
"position": 20 "position": 20
}, },
{
"type": "relation",
"name": "internalLink",
"value": "wy8So3yZZlH9",
"isInheritable": false,
"position": 30
},
{
"type": "relation",
"name": "internalLink",
"value": "dj3j8dG4th4l",
"isInheritable": false,
"position": 40
},
{ {
"type": "label", "type": "label",
"name": "shareAlias", "name": "shareAlias",
@ -6196,20 +6210,6 @@
"value": "bx bx-window-open", "value": "bx bx-window-open",
"isInheritable": false, "isInheritable": false,
"position": 30 "position": 30
},
{
"type": "relation",
"name": "internalLink",
"value": "Gr6xFaF6ioJ5",
"isInheritable": false,
"position": 40
},
{
"type": "relation",
"name": "internalLink",
"value": "WOcw2SLH6tbX",
"isInheritable": false,
"position": 50
} }
], ],
"format": "markdown", "format": "markdown",
@ -14200,20 +14200,6 @@
"type": "text", "type": "text",
"mime": "text/html", "mime": "text/html",
"attributes": [ "attributes": [
{
"type": "relation",
"name": "internalLink",
"value": "Vc8PjrjAGuOp",
"isInheritable": false,
"position": 10
},
{
"type": "relation",
"name": "internalLink",
"value": "l0tKav7yLHGF",
"isInheritable": false,
"position": 20
},
{ {
"type": "label", "type": "label",
"name": "iconClass", "name": "iconClass",
@ -14227,6 +14213,20 @@
"value": "sql-console", "value": "sql-console",
"isInheritable": false, "isInheritable": false,
"position": 40 "position": 40
},
{
"type": "relation",
"name": "internalLink",
"value": "l0tKav7yLHGF",
"isInheritable": false,
"position": 50
},
{
"type": "relation",
"name": "internalLink",
"value": "x3i7MxGccDuM",
"isInheritable": false,
"position": 60
} }
], ],
"format": "markdown", "format": "markdown",
@ -14240,29 +14240,21 @@
"position": 10, "position": 10,
"dataFileName": "SQL Console_image.png" "dataFileName": "SQL Console_image.png"
}, },
{
"attachmentId": "827EgLgWhZWF",
"title": "image.png",
"role": "image",
"mime": "image/jpg",
"position": 10,
"dataFileName": "1_SQL Console_image.png"
},
{ {
"attachmentId": "gIbK7NNLu3iZ", "attachmentId": "gIbK7NNLu3iZ",
"title": "image.png", "title": "image.png",
"role": "image", "role": "image",
"mime": "image/png", "mime": "image/png",
"position": 10, "position": 10,
"dataFileName": "2_SQL Console_image.png" "dataFileName": "1_SQL Console_image.png"
}, },
{ {
"attachmentId": "pP87PB9ELjQn", "attachmentId": "wdBs3e0MApgs",
"title": "image.png", "title": "image.png",
"role": "image", "role": "image",
"mime": "image/png", "mime": "image/png",
"position": 10, "position": 10,
"dataFileName": "3_SQL Console_image.png" "dataFileName": "2_SQL Console_image.png"
} }
] ]
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 B

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 B

View File

@ -1,7 +1,7 @@
# SQL Console # SQL Console
The SQL Console is Trilium's built-in database editor. The SQL Console is Trilium's built-in database editor.
It can be accessed by going to the [global menu](../../../Basic%20Concepts%20and%20Features/UI%20Elements) → Advanced → Open SQL Console. It can be accessed by going to the <a class="reference-link" href="../../../Basic%20Concepts%20and%20Features/UI%20Elements/Global%20menu.md">Global menu</a> → Advanced → Open SQL Console.
![](SQL%20Console_image.png) ![](SQL%20Console_image.png)
@ -9,16 +9,16 @@ It can be accessed by going to the [global menu](../../../Basic%20Concepts%20and
* Hovering the mouse over one of the tables listed at the top of the document will show the columns and their data type. * Hovering the mouse over one of the tables listed at the top of the document will show the columns and their data type.
* Only one SQL statement can be run at once. * Only one SQL statement can be run at once.
* To run the statement, press the ![](3_SQL%20Console_image.png)icon. * To run the statement, press the _Execute_ icon.
* For queries that return a result, the data will displayed in a table. * For queries that return a result, the data will displayed in a table.
![](1_SQL%20Console_image.png) <figure class="image"><img style="aspect-ratio:1124/571;" src="2_SQL Console_image.png" width="1124" height="571"></figure>
### Saved SQL console ### Saved SQL console
SQL queries or commands can be saved into a dedicated note. SQL queries or commands can be saved into a dedicated note.
To do so, simply write the query and press the ![](2_SQL%20Console_image.png)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 ![](1_SQL%20Console_image.png) button. Once saved, the note will appear in <a class="reference-link" href="../../Advanced%20Showcases/Day%20Notes.md">Day Notes</a>.
* 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 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. * The expression cannot be modified. If needed, recreate it by copying the statement back into the SQL console and then saving it again.