Home > Backend Development > PHP Tutorial > laravel多对多查询,不用join,用model,如何查,愁哭了

laravel多对多查询,不用join,用model,如何查,愁哭了

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:14:20
Original
1191 people have browsed it

laravel多对多查询,不用join,用model,怎么查,愁哭了
laravel多对多查询,不用join,用model,怎么查,愁哭了
------解决思路----------------------
http://laravel.com/docs/4.2/eloquent#many-to-many
看下啊,支持多对多的,
貌似功能还挺强

Related labels:
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
Latest Issues
Composer cannot install laravel
From 1970-01-01 08:00:00
0
0
0
Laravel Space/laravel-backup cannot be installed
From 1970-01-01 08:00:00
0
0
0
Laravel 5.1 Login laravel comes with it No more
From 1970-01-01 08:00:00
0
0
0
Why thinkphp has better performance than laravel?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template