Skip to content

Commit 653f4ad

Browse files
committed
add a title to the performance page
1 parent 5e723f8 commit 653f4ad

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

examples/official-site/performance.sql

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ select 'http_header' as component,
22
'public, max-age=600, stale-while-revalidate=3600, stale-if-error=86400' as "Cache-Control",
33
'<https://sql-page.com/performance>; rel="canonical"' as "Link";
44

5-
select 'dynamic' as component, properties FROM example WHERE component = 'shell' LIMIT 1;
5+
select 'dynamic' as component, json_patch(json_extract(properties, '$[0]'), json_object(
6+
'title', 'SQLPage applications are fast'
7+
)) as properties
8+
FROM example WHERE component = 'shell' LIMIT 1;
69

710
select 'hero' as component,
811
'Performance in SQLPage' as title,

0 commit comments

Comments
 (0)