-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add Hybrid has
and whereHas
functionality
#1195
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
Conversation
…ations but we do need to constrain the mongo ones
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have been using his branch for a few days and have run it through multiple scenarios using has and whereHas on mysql models with relationships to mongodb models and everything works as expected
any update to commit into master version? |
@martingg88 I have been using this branch for almost 2 months now and haven't had any problems at all @jenssegers I really wish you would merge this one in or at least take a look at it.. a lot of people have been requesting this addition for a very long time now |
Tests are passing now but StyleCI hates me |
Sorry for the delay! |
Call to undefined method Jenssegers\Mongodb\Query\Builder::getRelationWithoutConstraints() when using dev-master |
Introduced by mongodb#1195
Add Hybrid `has` and `whereHas` functionality
This adds the support for
has
andwhereHas
for hybrid relations between mongodb models and mysql models.This should close #1035, #803, #730, #342, #1225, and #1159, #1305