uepg/laravel-sybase

Error using raw's functions in wheres

Closed this issue · 0 comments

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.