35 lines
1.3 KiB
JSON
35 lines
1.3 KiB
JSON
{
|
|
"gitSyncId": "6a6b5b477ebc9edeca96e2f8_a4b30cc2-55bd-48f3-a541-3934d1b76d01",
|
|
"id": "Sitzplätze_BookSeatSQL",
|
|
"pluginId": "mysql-plugin",
|
|
"pluginType": "DB",
|
|
"unpublishedAction": {
|
|
"actionConfiguration": {
|
|
"body": "SELECT\n id,\n platz_id,\n titel AS title,\n startzeit AS start,\n endzeit AS end,\n gebucht_von\nFROM `buchungen`\nWHERE platz_id = '{{appsmith.store.selectedSeatId}}'\nORDER BY startzeit;\n\nINSERT INTO `buchungen`\n(\n id,\n titel,\n startzeit,\n endzeit,\n gebucht_von\n)\nVALUES\n(\n '{{appsmith.store.selectedSeatId}}',\n '{{InputTitel.text}}',\n '{{InputStartzeit.text}}',\n '{{InputEndzeit.text}}',\n '{{InputGebuchtVon.text}}'\n);",
|
|
"encodeParamsToggle": true,
|
|
"paginationType": "NONE",
|
|
"pluginSpecifiedTemplates": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"timeoutInMillisecond": 10000
|
|
},
|
|
"confirmBeforeExecute": false,
|
|
"datasource": {
|
|
"id": "MySQL Bürobuchungen",
|
|
"isAutoGenerated": false,
|
|
"name": "MySQL Bürobuchungen",
|
|
"pluginId": "mysql-plugin"
|
|
},
|
|
"dynamicBindingPathList": [
|
|
{
|
|
"key": "body"
|
|
}
|
|
],
|
|
"name": "BookSeatSQL",
|
|
"pageId": "Sitzplätze",
|
|
"runBehaviour": "MANUAL",
|
|
"userSetOnLoad": false
|
|
}
|
|
} |