-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
SELECT 'shell' as component, 'SQLPage' as title, | ||
'chart' as menu_item, | ||
'layouts' as menu_item, | ||
'tabs' as menu_item, | ||
'show_variables' as menu_item; | ||
|
||
select 'list' as component, 'POST variables' as title, | ||
'Here is the list of POST variables sent to this page. | ||
Post variables are accessible with `:variable_name`.' as description_md, | ||
'No POST variable.' as empty_title; | ||
select key as title, ':' || key || ' = ' || "value" as description | ||
from json_each(sqlpage.variables('post')); | ||
|
||
select 'list' as component, 'GET variables' as title, | ||
'Here is the list of GET variables sent to this page. | ||
Get variables are accessible with `$variable_name`.' as description_md, | ||
'No GET variable.' as empty_title; | ||
select key as title, '$' || key || ' = ' || "value" as description | ||
from json_each(sqlpage.variables('get')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters