Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.6] Support raw expressions in whereRowValues() #25117

Merged
merged 1 commit into from Aug 8, 2018
Merged

[5.6] Support raw expressions in whereRowValues() #25117

merged 1 commit into from Aug 8, 2018

Conversation

staudenmeir
Copy link
Contributor

whereRowValues() falsely adds raw expressions to the bindings:

$builder = DB::table('table')->whereRowValues(['column'], '=', [DB::raw('value')]);

dd($builder->getBindings());
// expected: []
// actual:   [Expression {}]

@taylorotwell taylorotwell merged commit df5e681 into laravel:5.6 Aug 8, 2018
@staudenmeir staudenmeir deleted the where-row-values branch August 8, 2018 15:10
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.

None yet

2 participants