plugin
plugin copied to clipboard
[Bug]: where() function on Model is not recognized and thus not autocompleteable
Bug description
The where()
function does not exist on Models.
User::where( <--- this does not exist in the autocomplete list
Plugin version
5.1.1.213
Operating system
MacOS
Steps to reproduce
AnyModel::where( <--- this does not exist in the autocomplete list
Relevant log output
No response
Hi, Rood.
Have you generated an Eloquent Helper code? main menu > Laravel > Generate Eloquent Helper Code
Hi, Rood.
Have you generated an Eloquent Helper code? main menu > Laravel > Generate Eloquent Helper Code
Yes, that is why I get the autocomplete list. Normally I need to use ->query()->...
to get the autocomplete list.
@adelf when I generate the Eloquent Helper Code, where()
is NOT part of the _ide_helper_model_builders.php
file.. hence where()
is not recognized.