LMSouq
database Open

Laravel Eloquent Query: Using WHERE with OR AND OR?

FA
Farzher
1 month ago
3 views
Problem Description
How do I say `WHERE (a = 1 OR b =1 ) AND (c = 1 OR d = 1)` For more complicated queries am I supposed to use raw SQL?

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base