たとえば「子ども」と「お稽古事」というデータモデルを考えます。一人の「子ども」は、複数の「お稽古事」を学ぶことができます。ピアノ教室に入って、水泳スクールにも入っていた方もいらっしゃるでしょう。逆に一つの「お稽古事」(の教室)から見ると、複数の「子ども」が入会しています。つまり、「子ども」のデータモデルと「お稽古事」のデータモデルの間には多対多の関連付けを行います。
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
11