Home  >  Article  >  Backend Development  >  可以用join查,也可以用model关联关系查,用哪个查比较好呢?两个不冲突吗

可以用join查,也可以用model关联关系查,用哪个查比较好呢?两个不冲突吗

WBOY
WBOYOriginal
2016-06-23 13:42:00912browse

可以用join查,也可以用model关联关系查,用哪个查比较好呢?两个不冲突吗?我一般都是用join查


回复讨论(解决方案)

model关联关系查 最后也是转化成join查吧,看一下你的model关联关系查是什么样的。

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