I have a nested model and the underlying query that executes does a IN clause with more than 2100 parameters. MYSQL cant take this.
Usually its recommended to handle this my breaking up the IN parameter list and chaining the sublists by doing multiple OR's
v_portfolio_api
.query()
.eager('[trading_group.head_traders.trader, traders.trader]')
.then(function(portfolios) {
res.status(200).json(portfolios);
});
Do you have a solution? Can the ORM handle this for MSSQL?