Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DOCSP-42818: wherelike and wherenotlike docs #3114

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

Merged
rustagir merged 5 commits into mongodb:4.8 from rustagir:DOCSP-42818-wherelike-method
Aug 26, 2024

Conversation

@rustagir
Copy link
Contributor

@rustagir rustagir commented Aug 23, 2024
edited
Loading

https://jira.mongodb.org/browse/DOCSP-42818
add documentation for whereLike() query builder method

STAGING

Checklist

  • Add tests and ensure they pass
  • Add an entry to the CHANGELOG.md file
  • Update documentation for new features

// begin query whereLike
$result = DB::connection('mongodb')
->table('movies')
->whereLike('title', 'Start%', true)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: this is causing the test to fail because the feature (#3108 ) is not merged yet

Copy link
Member

Choose a reason for hiding this comment

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

#3108 is merged.

Copy link
Contributor

@jordan-smith721 jordan-smith721 left a comment

Choose a reason for hiding this comment

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

LGTM +1 suggestion

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The following methods provide the same functionality as using the
``like`` query operator to match patterns:
Copy link
Contributor

@jordan-smith721 jordan-smith721 Aug 23, 2024

Choose a reason for hiding this comment

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

Even though it's right above this, it might be good to link to the like operator here

rustagir reacted with thumbs up emoji
// begin query whereLike
$result = DB::connection('mongodb')
->table('movies')
->whereLike('title', 'Start%', true)
Copy link
Member

Choose a reason for hiding this comment

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

#3108 is merged.

@rustagir rustagir marked this pull request as ready for review August 26, 2024 17:30
@rustagir rustagir requested a review from a team as a code owner August 26, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@GromNaN GromNaN GromNaN approved these changes

@jordan-smith721 jordan-smith721 jordan-smith721 approved these changes

@norareidy norareidy norareidy approved these changes

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /