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

Wherein subquery #27

Merged
merged 5 commits into from
Jan 22, 2020
Merged

Wherein subquery #27

merged 5 commits into from
Jan 22, 2020

Conversation

khepin
Copy link
Collaborator

@khepin khepin commented Jan 22, 2020

Allows using subqueries on a mutated field.

This also makes composer version constraints that will satisfy both laravel 5 and 6 when the lib is imported in apps that rely on one or the other.

@elliotfehr @bezhermoso @suadhuskic

@khepin
Copy link
Collaborator Author

khepin commented Jan 22, 2020

@bobo333

composer.json Outdated Show resolved Hide resolved
Co-Authored-By: Bez Hermoso <bezalelhermoso@gmail.com>
@@ -93,13 +93,24 @@ public function whereIn($column, $values, $boolean = 'and', $not = false)
return $this;
}

// if ($where['type'] === 'In') {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we remove this commented out code?

@khepin khepin merged commit 7b20796 into master Jan 22, 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.

None yet

4 participants