Skip to content

Conversation

cocoeyes02
Copy link

@taylorotwell
Copy link
Member

It's not really true in my opinion. Eloquent allows you to pass a closure to the where method to build logical groups:

image

@cocoeyes02
Copy link
Author

Oh, I didn't know it. I wanna improve note. Can I remake pr?

If you use OR clause in `whereRaw`, you should use SQL Parentheses in `whereRaw`, closure to `where` or `orWhere` instead of `whereRaw`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants