Skip to main content

What it flags

One TypeORM or Sequelize query joins two or more collection relations (leftJoinAndSelect, relations, include), so the rows multiply as the product of their sizes.

How to review or fix

Load the second collection in its own query (relationLoadStrategy: 'query', Sequelize separate: true).

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: