LoginSignup
1
1

More than 5 years have passed since last update.

多対多

Posted at

たとえば「子ども」と「お稽古事」というデータモデルを考えます。一人の「子ども」は、複数の「お稽古事」を学ぶことができます。ピアノ教室に入って、水泳スクールにも入っていた方もいらっしゃるでしょう。逆に一つの「お稽古事」(の教室)から見ると、複数の「子ども」が入会しています。つまり、「子ども」のデータモデルと「お稽古事」のデータモデルの間には多対多の関連付けを行います。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1