UNPKG

@budibase/server

Version:
87 lines (86 loc) 1.99 kB
{ "operation": "READ", "resource": { "fields": [ "a.productname", "a.productid", "b.executorid", "b.taskname", "b.taskid", "b.completed", "b.qaid" ] }, "filters": { "equal": { "1:tasks.taskname": "assembling" }, "onEmptyFilter": "all" }, "sort": { "productname": { "direction": "ascending" } }, "paginate": { "limit": 100, "page": 1 }, "relationships": [ { "tableName": "tasks", "column": "tasks", "through": "products_tasks", "from": "productid", "to": "taskid", "fromPrimary": "productid", "toPrimary": "taskid" } ], "tableAliases": { "products_tasks": "c", "tasks": "b", "products": "a" }, "table": { "type": "table", "_id": "datasource_plus_8066e56456784eb2a00129d31be5c3e7__products", "primary": ["productid"], "name": "products", "schema": { "productname": { "type": "string", "externalType": "character varying", "autocolumn": false, "name": "productname", "constraints": { "presence": false } }, "productid": { "type": "number", "externalType": "integer", "autocolumn": true, "name": "productid", "constraints": { "presence": false } }, "tasks": { "tableId": "datasource_plus_8066e56456784eb2a00129d31be5c3e7__tasks", "name": "tasks", "relationshipType": "many-to-many", "fieldName": "taskid", "through": "datasource_plus_8066e56456784eb2a00129d31be5c3e7__products_tasks", "throughFrom": "taskid", "throughTo": "productid", "type": "link", "main": true, "_id": "ca6862d9ba09146dd8a68e3b5b7055a09" } }, "sourceId": "datasource_plus_8066e56456784eb2a00129d31be5c3e7", "sourceType": "external", "primaryDisplay": "productname" } }