How do i get last inserted data only

Posted 5 months 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.