Test connection to database
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
mpe.isocountry
|
||||
WHERE
|
||||
"iso_id" ilike '%{{Table1.searchText}}%'
|
||||
ORDER BY
|
||||
"{{Table1.sortOrder.column || 'iso_id'}}" {{Table1.sortOrder.order !== "desc" ? "" : "DESC"}}
|
||||
LIMIT
|
||||
{{Table1.pageSize}}
|
||||
OFFSET
|
||||
{{Table1.pageOffset}}
|
||||
35
pages/Page1/queries/Select_mpe_isocountry1/metadata.json
Normal file
35
pages/Page1/queries/Select_mpe_isocountry1/metadata.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"gitSyncId": "6968b6e8271e5e0befde3194_6ab47e10-a6f8-4be9-9f46-2e01804dfaf8",
|
||||
"id": "Page1_Select_mpe_isocountry1",
|
||||
"pluginId": "postgres-plugin",
|
||||
"pluginType": "DB",
|
||||
"unpublishedAction": {
|
||||
"actionConfiguration": {
|
||||
"body": "SELECT\n *\nFROM\n mpe.isocountry\nWHERE\n \"iso_id\" ilike '%{{Table1.searchText}}%'\nORDER BY\n \"{{Table1.sortOrder.column || 'iso_id'}}\" {{Table1.sortOrder.order !== \"desc\" ? \"\" : \"DESC\"}}\nLIMIT\n {{Table1.pageSize}}\nOFFSET\n {{Table1.pageOffset}}",
|
||||
"encodeParamsToggle": true,
|
||||
"paginationType": "NONE",
|
||||
"pluginSpecifiedTemplates": [
|
||||
{
|
||||
"value": false
|
||||
}
|
||||
],
|
||||
"timeoutInMillisecond": 10000
|
||||
},
|
||||
"confirmBeforeExecute": false,
|
||||
"datasource": {
|
||||
"id": "xTuple_Sandbox",
|
||||
"isAutoGenerated": false,
|
||||
"name": "xTuple_Sandbox",
|
||||
"pluginId": "postgres-plugin"
|
||||
},
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "body"
|
||||
}
|
||||
],
|
||||
"name": "Select_mpe_isocountry1",
|
||||
"pageId": "Page1",
|
||||
"runBehaviour": "AUTOMATIC",
|
||||
"userSetOnLoad": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user