symfonydoctrine-relations

MakFly 的头像作者 MakFly

定义Doctrine实体关系(OneToMany、ManyToMany、ManyToOne);配置获取模式、级联操作和孤儿删除;防止N+1查询。

📖 中文导读:定义Doctrine实体关系(OneToMany、ManyToMany、ManyToOne);配置获取模式、级联操作和孤儿删除;防止N+1查询。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: symfony:doctrine-relations allowed-tools: - Read - Write - Edit - Bash - Glob - Grep description: Use when symfony doctrine relations

symfony:doctrine-relations (Micro)

Use when

  • Use when symfony doctrine relations

Rules

  • Keep changes minimal and focused
  • Ask before running servers/builds/tests
  • Load reference/examples only on explicit request

References

  • reference.md
  • docs/complexity-tiers.md