Level 4
Just append a new where(...) to your query. It will autmatically be AND.
Table::where('Column', Value)->where('NewColumn', Value)->get();
More details are available in the docs here.
7 likes
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I want to query like the following
SELECT * FROM Table
WHERE Column='Value'
AND NewColumn='Value'
I don't know how to query AND in Laravel Query Builder. Can someone help me?
Just append a new where(...) to your query. It will autmatically be AND.
Table::where('Column', Value)->where('NewColumn', Value)->get();
More details are available in the docs here.
Please or to participate in this conversation.