Hello!
Am I correct with that querying for a sub-table within a sub-table is not supported? All fine with adding the sub table fields as in the example. Not working with an additional “layer” in the sub-table:
{
"status": "500",
"message": "Undefined binding(s) detected when compiling SELECT. Undefined column(s): [step_id] query: select \"key\", \"value\", \"step_id\" from \"step_conditions\" as \"step_conditions\" where \"step_id\" in (?)",
"stack": "Error: Undefined binding(s) detected when compiling SELECT. Undefined column(s): [step_id] query: select \"key\", \"value\", \"step_id\" from \"step_conditions\" as \"step_conditions\" where \"step_id\" in (?)\n at QueryCompiler_PG.toSQL (/opt/node_app/node_modules/knex/lib/query/querycompiler.js:110:13)\n at Builder.toSQL (/opt/node_app/node_modules/knex/lib/query/querybuilder.js:83:44)\n at ensureConnectionCallback (/opt/node_app/node_modules/knex/lib/execution/internal/ensure-connection-callback.js:4:30)\n at Runner.ensureConnection (/opt/node_app/node_modules/knex/lib/execution/runner.js:272:20)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at async Runner.run (/opt/node_app/node_modules/knex/lib/execution/runner.js:30:19)\n at async App._processSubQueries (/opt/node_app/lib/modules/dbconnector.js:261:28)\n at async App._processSubQueries (/opt/node_app/lib/modules/dbconnector.js:264:13)\n at async App.select (/opt/node_app/lib/modules/dbconnector.js:65:17)\n at async App._exec (/opt/node_app/lib/core/app.js:487:30)"
}