Skip to content

feat: add OrWhereIn method#397

Merged
hwbrzzl merged 3 commits intogoravel:masterfrom
Kamandlou:orm
Jan 27, 2024
Merged

feat: add OrWhereIn method#397
hwbrzzl merged 3 commits intogoravel:masterfrom
Kamandlou:orm

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

@codecov
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
@Kamandlou Kamandlou deleted the orm branch January 27, 2024 12:27
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