PromucFlow_constructor/app/client/cypress/fixtures/mySQL_POST_Execute.json
Aishwarya-U-R d3f2f8c04f
test: Generate CRUD implementation - Mongo, MySQL, S3 (#8879)
* Generate CRUD implementation - Mongo, MySQL, S3

* Revertion from intercept to route
2021-10-29 07:02:45 +00:00

54 lines
946 B
JSON

{
"responseMeta": {
"status": 200,
"success": true
},
"data": {
"body": [
{
"hobbiesname": "Reading",
"frequency": 2
}
],
"isExecutionSuccess": true,
"messages": [
],
"request": {
"requestParams": {
"Query": {
"value": "SELECT * FROM Hob\nWHERE hobbiesname like '%%'\nORDER BY frequency ASC\nLIMIT 17\nOFFSET 0;"
}
}
},
"dataTypes": [
{
"dataType": "TABLE"
},
{
"dataType": "JSON"
},
{
"dataType": "RAW"
}
],
"suggestedWidgets": [
{
"type": "DROP_DOWN_WIDGET",
"bindingQuery": "data.map( (obj) =>{ return {'label': obj.hobbiesname, 'value': obj.hobbiesname } })"
},
{
"type": "CHART_WIDGET",
"bindingQuery": "data.map( (obj) =>{ return {'x': obj.hobbiesname, 'y': obj.frequency } })"
},
{
"type": "TABLE_WIDGET",
"bindingQuery": "data"
},
{
"type": "TEXT_WIDGET",
"bindingQuery": "data"
}
]
}
}