Skip to content

Commit f65f8bc

Browse files
committed
canonical urlencoded function doc url
1 parent 8ed6362 commit f65f8bc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/official-site/functions.sql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
select 'http_header' as component,
2+
printf('<%s>; rel="canonical"',
3+
iif($function is not null, sqlpage.link('functions.sql', json_object('function', $function)), 'functions.sql')
4+
) as "Link";
5+
16
select 'dynamic' as component, properties
27
FROM example WHERE component = 'shell' LIMIT 1;
38

0 commit comments

Comments
 (0)