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

Add where_not_in to Collection #918

Conversation

circulon
Copy link
Contributor

This addresses #917

This PR adds functionality to Collection to exclude certain items from a Collection

Additional:
changed when the compatibility check for testing a list of integer strings happens in where_in().
Provides better performance as we still only need to check the Collection once.

No point in checking  the entire Collection to find no matches then cast the args to ints and test it again.
@josephmancuso josephmancuso merged commit 3aed0d9 into MasoniteFramework:2.0 Feb 14, 2025
5 checks passed
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.

2 participants