Question · Vibe coding with Claude Code course · Module 14: Pinterest clone
Quiz: Relations in Prisma
How do you fetch boards together with their entries from the PinOnBoard join table with one findMany call?
Answer options
- The entries always come by themselves, because the relation is described in the schema
- With the option include: { pins: true }
- With the option onDelete: Cascade in the relation
- With the option join: "pins" in findMany
You can check the correct answer by solving this task in the CodeWorlds game.