Question · NestJS course · Module 3: TypeORM and Databases

Cascade in relations

What does the cascade: true option mean in a TypeORM relation decorator?

Answer options

  • Related entities are automatically saved/deleted along with the parent
  • The relation is automatically removed
  • Data is copied to another table
  • Queries are cached

You can check the correct answer by solving this task in the CodeWorlds game.