-
Notifications
You must be signed in to change notification settings - Fork 70
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 support to MySQL for keyword LIKE, add support to laravel 5.4.* for relation keys and other minor fixes #20
Merged
Merged
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
2a68e5d
Add support to MySQL for keyword LIKE. The keyword ILIKE can be used …
Carghaez e43b3aa
Add support to laravel 5.4.* for relation keys
Carghaez 139c4aa
Minor fixes
Carghaez 130d9c9
Minor update: change $query to $queryBuilder follows the laravel's st…
Carghaez 11edc83
Minor update: add docs to methods
Carghaez 66c1750
Minor fix: for better readability and git-friendly function
Carghaez 0d2dcab
Added Support for gte (greater than or equal to) and lte (lesser than…
Carghaez 63cdff3
Update require dependencies to the correct version of Laravel
Carghaez 1816755
Remove useless support of bt
Carghaez 65ea244
Add fix of driver name and README.md
Carghaez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I do not think this is the most optimal way to get the connection type. The database key can be any arbitrary value.
What about getting it from the queryBuilder, something like
$queryBuilder->getConnection()->getDriverName()
. I just quickly looked it up, so I am not 100% sure it is a viable option - could you look into it? :-)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.
I looked for it and it works perfectly :D nice!