转载于:https://www.cnblogs.com/mouseleo/p/10984076.html
Laravel 多态关联中不能使用 has, whereHas
最新推荐文章于 2021-04-01 18:16:27 发布
转载于:https://www.cnblogs.com/mouseleo/p/10984076.html
ghost commented on Apr 13, 2017 •
i'm currently using this code in my own project
my Model (\App\Production\Models\Production Model)
my Controller
and it works for my use case.
please note that all model related to \App\Production\Models\Production model have 'panen_future_date' filed in its table.