Files
francesco-cattoglio b074dd1606 Added an option to create footers in the table component (#862)
* Implemented optional table footer rendering

* Added an example of footer usage

* Fixed a minor mistake, improved the example

* Updated changelog

* implemented requested change

* Update table.handlebars

spacing

* Update table.handlebars

minor, removed a `~`

* remove unused whitespace

---------

Co-authored-by: lovasoa <contact@ophir.dev>
2025-03-19 23:33:24 +01:00
..
2024-10-22 16:12:48 +02:00
2022-08-28 01:04:10 +02:00
2025-02-11 23:56:35 +01:00
2025-02-27 13:33:07 +01:00
2024-12-06 21:42:55 +01:00
2024-03-05 19:42:44 +01:00
2025-03-02 10:19:11 +01:00

SQLPage component templates

SQLPage templates are handlebars1 files that are used to render the results of SQL queries.

Default components

SQLPage comes with a set of default2 components that you can use without having to write any code. These are documented on https://sql-page.com/components.sql

Custom components

You can write your own component templates and place them in the sqlpage/templates directory. To override a default component, create a file with the same name as the default component. If you want to start from an existing component, you can copy it from the sqlpage/templates directory in the SQLPage source code2 .