<?xml version="1.0" encoding="UTF-8"?>

<?import com.andrewlalis.perfin.view.component.StyledText?>
<?import javafx.scene.layout.VBox?>
<VBox xmlns="http://javafx.com/javafx"
      xmlns:fx="http://javafx.com/fxml"
>
    <StyledText>
        ## SQL Console ##
        * This feature is for advanced users with experience in relational
        databases. *
        --
        The SQL console is a page where you can write and execute custom SQL
        queries on the underlying database that your Perfin profile is using.
        --
        Unless otherwise noted, Perfin uses the [H2 Database](https://www.h2database.com/html/main.html),
        but for most common purposes, the SQL query syntax is identical to other
        common dialects.
        --
        Simply write your queries in the upper text area, press **Execute**, and
        view the results in the output area below. When running multiple queries,
        be sure to end each with a semicolon (`;`). Results are shown as comma
        separated columns of text, starting with an initial row for the column
        names.

        # Comments #
        Prepend your query with `#` or `//` to exclude it from execution. Each
        comment character disables all query syntax up until the next semicolon,
        (`;`).

        # Saved Queries #
        Click on the **Save Query** button to save the contents of the editor
        into a *saved query*, which can then be loaded again at any time. You
        can find the saved query files under `/content/saved-queries`, in your
        profile's directory.
    </StyledText>
</VBox>
