Level 48
Hi @mkumar2001
Use raw expressions, https://laravel.com/docs/5.8/queries#raw-expressions and a tutorial/article how to use this, https://fideloper.com/laravel-raw-queries
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
SELECT * FROM tablename WHERE (field1=1 AND (field2=32 or field3=8) AND (field4 LIKE "%6562%" OR field5 LIKE "%6562%"))
Please or to participate in this conversation.