Eloquent DataTables casts all attributes to a string, even int ids.
PHP 7.2
Laravel Version 5.5
Yajra laravel-datatables Version 8.4
Mysql 5.8
Code snippet of problem
return \DataTables::eloquent(Users::where('isActive',1))
->make(true);
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire