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
I'm trying to figure out how to do name NOT LIKE '%test%' but I can't quite get it to work. Any ideas?
name NOT LIKE '%test%'
Some things that I have tried:
name: { $notLike: "%test%" } name: { $nLike: "%test%" } name: { $not: { $like: "%test%" } } name: { $like: { $not: "%test%" } }
Am i missing something obvious? :)
The text was updated successfully, but these errors were encountered:
Unfortunately, you'll need to register a conditional helper seen here http://mosql.j0.hn/#/snippets/ae
I'd happily accept a PR to add $notLike and $notILike to the built-in conditional helpers :)
$notLike
$notILike
Otherwise, I can get to it when I get to it
Sorry, something went wrong.
oh and if all else fails:
name: { $custom: ['name not like $1', '%test%'] }
Awesome, quick to answer as always 🙌
I'd be happy to whip up a PR for $notLike and $notILike :)
No branches or pull requests
I'm trying to figure out how to do
name NOT LIKE '%test%'
but I can't quite get it to work. Any ideas?Some things that I have tried:
Am i missing something obvious? :)
The text was updated successfully, but these errors were encountered: