How do i get last inserted data only

Posted 3 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.

Reply to

Use Markdown with GitHub-flavored code blocks.