We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When using NOT_LIKE operator, it returns empty result.
Query:
query { songs( first: 5 where: {AND: [{column: "title", operator: NOT_LIKE, value: "Bài ca đi cùng năm tháng%"}]} ) { data { id slug title } } }
Result:
{ "data": { "songs": { "data": [] } } }
Expected behavior/Solution
It should return non empty result
Steps to reproduce
Just use NOT_LIKE operator in the query
Output/Logs
Here is the mysql log:
DB::listen(function($query) { Log::info( $query->sql, $query->bindings ); });
select * from `song` where (`title` = ?) and `song`.`deleted_at` is null limit 6 offset 0 ["NOT_LIKE"]
Lighthouse Version 6.6.0
The text was updated successfully, but these errors were encountered:
NOT_LIKE
@whereConditions
Fixed with https://github.com/nuwave/lighthouse/releases/tag/v6.16.2.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
When using NOT_LIKE operator, it returns empty result.
Query:
Result:
Expected behavior/Solution
It should return non empty result
Steps to reproduce
Just use NOT_LIKE operator in the query
Output/Logs
Here is the mysql log:
Lighthouse Version
6.6.0
The text was updated successfully, but these errors were encountered: