sunel / eav

Entity–attribute–value model (EAV) for Laravel Artisan
https://sunel.github.io/eav/
143 stars 39 forks source link

WhereHas Don't work #65

Open smilelanss opened 2 years ago

smilelanss commented 2 years ago

Don't work entity relation

Product::whereHas('organization', function ($q){
                   $q->whereAttribute('help_job', '=', true);
                });

Product and Organization extends Eav\Model

smilelanss commented 2 years ago

@sunel Is there a solution to this problem?