Open thewebartisan7 opened 3 years ago
I am getting all columns even hidden by just running below:
$model->search($query)->get() or $model->search($query)->paginate()
$model->search($query)->get()
$model->search($query)->paginate()
As you can see in below screenshot, there is hidden columns set but in attributes you can see password, searchable and remember_token
Am I missing something?
Is this just in the DD or can you access/modify the hidden attributes in your code? Using php artisan tinker, my models do not display the hidden attributes.
php artisan tinker
I am getting all columns even hidden by just running below:
$model->search($query)->get()
or$model->search($query)->paginate()
As you can see in below screenshot, there is hidden columns set but in attributes you can see password, searchable and remember_token
Am I missing something?