-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
DOCSP-42818: wherelike and wherenotlike docs #3114
Conversation
// begin query whereLike | ||
$result = DB::connection('mongodb') | ||
->table('movies') | ||
->whereLike('title', 'Start%', true) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#3108 is merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM +1 suggestion
docs/query-builder.txt
Outdated
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
The following methods provide the same functionality as using the | ||
``like`` query operator to match patterns: |
There was a problem hiding this comment.
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
// begin query whereLike | ||
$result = DB::connection('mongodb') | ||
->table('movies') | ||
->whereLike('title', 'Start%', true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#3108 is merged.
https://jira.mongodb.org/browse/DOCSP-42818
add documentation for whereLike() query builder method
STAGING
Checklist