whereMorphedTo('sectionable', null) #46812
Unanswered
m-derakhshi
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Just use: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi
my query is :
select * from visitor_info
whereselectable_type
is null`
i want use eloquent and phpstorm autocomplate:
Model:query()->whereMorphedTo('sectionable', null)->get();
laravel error:
Call to a member function getMorphClass() on null
Beta Was this translation helpful? Give feedback.
All reactions