UNPKG

@budibase/server

Version:
102 lines (101 loc) 2.25 kB
{ "operation": "READ", "resource": { "fields": [ "a.productname", "a.productid", "b.executorid", "b.taskname", "b.taskid", "b.completed", "b.qaid" ] }, "filters": { "string": {}, "fuzzy": {}, "range": {}, "equal": {}, "notEqual": {}, "empty": {}, "notEmpty": {}, "contains": {}, "notContains": {}, "oneOf": {}, "containsAny": {} }, "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", "aliases": { "products_tasks": "c", "tasks": "b", "products": "a" } } ], "extra": { "idFilter": {} }, "table": { "type": "table", "_id": "datasource_plus_44a967caf37a435f84fe01cd6dfe8f81__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_44a967caf37a435f84fe01cd6dfe8f81__tasks", "name": "tasks", "relationshipType": "many-to-many", "fieldName": "taskid", "through": "datasource_plus_44a967caf37a435f84fe01cd6dfe8f81__products_tasks", "throughFrom": "taskid", "throughTo": "productid", "type": "link", "main": true, "_id": "c3b91d00cd36c4cc1a347794725b9adbd" } }, "sourceId": "datasource_plus_44a967caf37a435f84fe01cd6dfe8f81", "sourceType": "external", "primaryDisplay": "productname" }, "tableAliases": { "products": "a", "tasks": "b", "products_tasks": "c" } }