Add first-class common table expressions to QueryBuilder
Add first-class common table expressions to QueryBuilder: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). Knex currently makes callers drop down to an entire raw statement when they need a common table expression, which loses the query builder's normal composition…
The task
Knex currently makes callers drop down to an entire raw statement when they need a common table expression, which loses the query builder's normal composition, binding-order, and dialect-quoting behavior. Add chainable `with` and `withRecursive` support so CTEs compose with ordinary queries. Both methods must be…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.