Skip to main content

Livewire v4 Celebrations! Only until January 25th: Coupon LIVEWIRE4 for 40% off Yearly/Lifetime membership!

Read more here

Raw Queries as a Last Resort

Premium
2:14

The Full Lesson is Only for Premium Members

Want to access all of our courses? (31 h 44 min)

You also get:

56 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Comments & Discussion

T
Thakchand ✓ Link copied!

$tasks = Task::selectRaw('id,description, month(created_at) as created_month ') ->whereRaw('month(created_at)= ?', request('month')) ->get();

above code giving error
PK
Povilas Korop ✓ Link copied!

What is the actual error message?

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.