Error using raw's functions in wheres
Closed this issue · 0 comments
mainginski commented
If you use whereRaw() (or whereRaw(DB:raw()) ), the principle doesn't work in field comparisons.
Example:
...->whereRaw('tb1.field = tb2.field')
You will get an error related to new_binds variable.