array (
'id' => 2147483647,
'title' => 'Honor Band A2 (Black)',
'product_type' => 'watch',
'vendor' => 'Honor',
'tags' => 'Honor',
'created_at' => '2018-07-27 02:58:19',
'updated_at' => '2018-07-08 13:08:05',
)
when i fetch data from my database table so i get id get 2147483647(int) but in my database table actual id is 1383243644987(bigint). how to i get actual id from database table?
my eloquent query is:-> $product= Model::all();
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2LKzpI2
via IFTTT
Aucun commentaire:
Enregistrer un commentaire