I'm trying to ignore all my $appends in my User model just for one time. I need all those every time on my app but this one time I don't need it and it's slowing down the performance of my query.
I need the correct way to do it. I've been search like 1 week for this solution and nothing.
class User extends Authenticatable
{
use Notifiable,
SoftDeletes,
FilterTrait,
HasRoles;
public $appends = [
'fullName',
'name',
'since',
'newCustomer',
'image_URL',
'th_roles'
];
...