Home  >  Article  >  Backend Development  >  Looking for an example of thinkphp5 association model. I read the manual for a day and still don’t understand it.

Looking for an example of thinkphp5 association model. I read the manual for a day and still don’t understand it.

WBOY
WBOYOriginal
2016-10-17 09:30:10962browse

Looking for an example of thinkphp5 association model. I haven’t understood it even after reading the manual for a day

Reply content:

Looking for an example of thinkphp5 association model. I haven’t understood it even after reading the manual for a day

Please describe the problem clearly

You will understand if you mainly look at the relationship between “belong to” and “has many”

This section is an advanced database relationship. To understand it, you need to calm down and learn it.
What’s the best way?

<code>边看、边做。</code>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn