Open yonchando opened 2 months ago
Hello.
What do you use to fetch columns in Laravel Idea? Migrations or Database connection?
If migrations, could you show one of them? If connection, could you show the screenshot of the Database tab with some table columns?
Hi,
I fetch columns from database connection.
Ok. As you see, they are in upper case there. So, do you need only lowercase columns in the helper code?
Yes, I tested it for Eloquent, If I call column field with uppercase, It get null and use lowercase it get data normal.
It on where closure too. It use upper case. It could be lower case.
Bug description
In oracle all columns is UPPER when I generate model eloquent, it generate auto complete field with UPPER. I use model with UPPER field is return null and I use model with lower case it get data normal, but the IDE compliance it magic methods.
Plugin version
8.2.5.242
Operating system
Windows
Steps to reproduce
Step 1: Create model connection to oracle driver
Step 2:
Laravel Idea -> Generate Helper Code
Step 3:
Call model in controller with auto complete column field with UPPER or lower case
Expected
$user->username
Call username with lower from model with auto complete and IDE no complianceActual
$user->USERNAME
USERNAME is auto complete from generate helper code and IDE know it field of modelRelevant log output
No response