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 supporting for array values in the NOT IN operator #70

Merged
merged 2 commits into from Aug 9, 2022

Conversation

roxblnfk
Copy link
Member

@roxblnfk roxblnfk commented Aug 9, 2022

Now you don't need to wrap an array value in the Parameter injection.

$database->select()
    ->from(['users'])
    ->where('status', 'NOT IN', ['active', 'blocked']);

@roxblnfk roxblnfk requested a review from wolfy-j August 9, 2022 07:08
@roxblnfk roxblnfk added the type:feature New feature. label Aug 9, 2022
@roxblnfk roxblnfk added this to the 2.3.x milestone Aug 9, 2022
@codecov
Copy link

codecov bot commented Aug 9, 2022

Codecov Report

Merging #70 (49541f4) into 2.x (d930b5c) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##                2.x      #70   +/-   ##
=========================================
  Coverage     92.78%   92.78%           
  Complexity     1535     1535           
=========================================
  Files            94       94           
  Lines          3897     3897           
=========================================
  Hits           3616     3616           
  Misses          281      281           
Impacted Files Coverage Δ
src/Query/Traits/TokenTrait.php 93.20% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@roxblnfk roxblnfk merged commit 41fe0c7 into 2.x Aug 9, 2022
@roxblnfk roxblnfk deleted the feature/array-in-not-in branch August 9, 2022 07:17
gam6itko pushed a commit to gam6itko/database that referenced this pull request Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants