59 lines
1.1 KiB
JSON
59 lines
1.1 KiB
JSON
{
|
|
"meta": {
|
|
"$_GET": [
|
|
{
|
|
"type": "array",
|
|
"name": "arrayvalue"
|
|
}
|
|
],
|
|
"$_POST": [
|
|
{
|
|
"type": "text",
|
|
"name": "da_id"
|
|
}
|
|
]
|
|
},
|
|
"exec": {
|
|
"steps": {
|
|
"name": "myinsertmeta",
|
|
"module": "dbupdater",
|
|
"action": "insert",
|
|
"options": {
|
|
"connection": "MyDB",
|
|
"sql": {
|
|
"type": "insert",
|
|
"values": [
|
|
{
|
|
"table": "da_meta",
|
|
"column": "da_id",
|
|
"type": "text",
|
|
"value": "{{$_POST.da_id}}"
|
|
}
|
|
],
|
|
"table": "da_meta",
|
|
"returning": "id",
|
|
"query": "insert into `da_meta` (`da_id`) values (?)",
|
|
"params": [
|
|
{
|
|
"name": ":P1",
|
|
"type": "expression",
|
|
"value": "{{$_POST.da_id}}",
|
|
"test": ""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"meta": [
|
|
{
|
|
"name": "identity",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "affected",
|
|
"type": "number"
|
|
}
|
|
],
|
|
"output": true
|
|
}
|
|
}
|
|
} |