Skip to content

[7.x] Adding "between" clauses for BelongsToMany pivot columns #32364

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

Merged
merged 2 commits into from
Apr 13, 2020
Merged

[7.x] Adding "between" clauses for BelongsToMany pivot columns #32364

merged 2 commits into from
Apr 13, 2020

Conversation

judahnator
Copy link
Contributor

Pretty short and simple. This adds the ability to add 'where between' query clauses to pivot columns.

More or less syntactic sugar, but it allows to more consistency between the normal "where" clauses and the "wherePivot" methods.

@GrahamCampbell GrahamCampbell changed the title Adding "between" clauses for BelongsToMany pivot columns [7.x] Adding "between" clauses for BelongsToMany pivot columns Apr 13, 2020
@judahnator
Copy link
Contributor Author

Got all of those changes implemented. Let me know how it looks!

@taylorotwell taylorotwell merged commit 7c33c97 into laravel:7.x Apr 13, 2020
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.

3 participants