Newest
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
UPDATE Sitzplätze
|
||||
SET status = 'belegt'
|
||||
WHERE id = '{{Custom4.model.selectedSeat.id}}'
|
||||
AND status = 'frei';
|
||||
SELECT
|
||||
id,
|
||||
titel AS title,
|
||||
startzeit AS start,
|
||||
endzeit AS end,
|
||||
gebucht_von
|
||||
FROM `buchungen`
|
||||
WHERE platz_id = '{{appsmith.store.selectedSeatId}}'
|
||||
ORDER BY startzeit;
|
||||
@@ -5,7 +5,7 @@
|
||||
"pluginType": "DB",
|
||||
"unpublishedAction": {
|
||||
"actionConfiguration": {
|
||||
"body": "UPDATE Sitzplätze\nSET status = 'belegt'\nWHERE id = '{{Custom4.model.selectedSeat.id}}'\n AND status = 'frei';",
|
||||
"body": "SELECT\n 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;",
|
||||
"encodeParamsToggle": true,
|
||||
"paginationType": "NONE",
|
||||
"pluginSpecifiedTemplates": [
|
||||
|
||||
Reference in New Issue
Block a user