adswatantra
1 year ago
141
6
Laravel

How do i get last inserted data only

Posted 1 year ago by adswatantra

how do i get last inserted data from the database. i tried DB::table('abouts')->latest()->first(); but it only give me id not other datas

Please sign in or create an account to participate in this conversation.