Can you explain what is the relationship of the association in the database?

I thought this was an alias for a simple foreign key relationship , but does not seem to work.

Can you take MySQL as an example, what is an association relation ?

I guess that means a lot of attitude, is that true?

+3
source share
1 answer

You are confusing relationand relationshiphere. These are different concepts.

Association association is a concept of class theory. It is a relationship between two or more objects that do not imply any restrictions on their life cycles.

, - : , , .

" " FOREIGN KEY , .

+3

Source: https://habr.com/ru/post/1735420/


All Articles