laravel多对多查询,不用join,用model,怎么查,愁哭了

WBOY
Release: 2016-06-23 13:40:53
Original
1192 people have browsed it

laravel多对多查询,不用join,用model,怎么查,愁哭了


回复讨论(解决方案)

http://laravel.com/docs/4.2/eloquent#many-to-many
看下啊,支持多对多的,
貌似功能还挺强

http://laravel.com/docs/4.2/eloquent#many-to-many
看下啊,支持多对多的,
貌似功能还挺强


按它说的,配置了model,用它那种方法查不出来

http://laravel.com/docs/4.2/eloquent#many-to-many
看下啊,支持多对多的,
貌似功能还挺强


找到问题了,是model引入workbench类的问题,该怎么正确引用呢

没用过啊,不过觉得你还是把错误信息贴上来比较好


没用过啊,不过觉得你还是把错误信息贴上来比较好
算了,谢谢了

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template