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

feat: add OrWhereIn method #397

Merged
merged 3 commits into from
Jan 27, 2024
Merged

feat: add OrWhereIn method #397

merged 3 commits into from
Jan 27, 2024

Conversation

Kamandlou
Copy link
Contributor

πŸ“‘ Description

add OrWhereIn method

βœ… Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Copy link

codecov bot commented Jan 26, 2024

Codecov Report

All modified and coverable lines are covered by tests βœ…

Comparison is base (c00b035) 69.36% compared to head (8172f96) 69.37%.

❗ Current head 8172f96 differs from pull request most recent head dc4fb76. Consider uploading reports for the commit dc4fb76 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #397   +/-   ##
=======================================
  Coverage   69.36%   69.37%           
=======================================
  Files         152      152           
  Lines       10935    10937    +2     
=======================================
+ Hits         7585     7587    +2     
  Misses       2844     2844           
  Partials      506      506           

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

Comment on lines 128 to 129
// OrWhereIn adds an "or where column in" clause to the query.
OrWhereIn(column string, values []any) Query
Copy link
Contributor

Choose a reason for hiding this comment

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

Good implementation, just one nitpick: please sort the method by the first letter. πŸ‘

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure πŸ™‚

@hwbrzzl hwbrzzl enabled auto-merge (squash) January 27, 2024 07:30
@hwbrzzl hwbrzzl merged commit 1a6c6ca into goravel:master Jan 27, 2024
8 checks passed
@Kamandlou Kamandlou deleted the orm branch January 27, 2024 12:27
kkumar-gcc added a commit that referenced this pull request Nov 29, 2024
kkumar-gcc added a commit that referenced this pull request Nov 29, 2024
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