rapidwebltd/improved-polymorphic-eloquent-builder
翻译 / 编辑
Attempting to use whereHas queries with standard Eloquent polymorphic relationships will fail, due to Eloquent being unable to determine the correct model to retrieve. The 'Improved Polymorphic Eloquent Builder' is a class which extends the Eloquent Builder class that is built in to Laravel 5.1. It enables limited use of the whereHas method to query Eloquent polymorphic relationships.
统计数据#
Github Star 数量 | 昨日下载(延迟一天) | 本月下载 | 历史下载 |
---|---|---|---|
8 | 0 | 0 | 822 |
注:数据延迟一天。
榜单排行#
Github Star 排行 | 昨日排行(延迟一天) | 本月排行 | 历史排行 |
---|---|---|---|
第 2676 名 | 第 11582 名 | 第 12468 名 | 第 2751 名 |
注:排序范围为 Laravel 所有相关项目总榜,另外两个榜单是 Laravel 扩展排行榜 和 Laravel 应用排行榜。
关键词#
laravel eloquent polymorphic polymorphism laravel-eloquent
注:关键词是作者在
composer.json
文件里设置。