Laravel query builder where and or where

Viewed 13789

I want to build a query something like this:

select * from users where id=1 AND address="USA" AND (status="active" OR status="pending")

how can i do that with laravel query builder?

please help. Thanks!

1 Answers
Related