Skip to content
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

[Feature]: Allow NOT operator '!' in front of filters #3629

Open
midoragh opened this issue May 6, 2024 · 0 comments
Open

[Feature]: Allow NOT operator '!' in front of filters #3629

midoragh opened this issue May 6, 2024 · 0 comments

Comments

@midoragh
Copy link

midoragh commented May 6, 2024

Describe the new feature

sqlite supports a not operator in filters. This is sometimes useful.
I.e. translate
!abc
in column 'col' to
WHERE (("col" NOT LIKE '%abc%' ESCAPE '' OR "col" IS NULL))
The (OR "col" IS NULL) part is needed to get a complete NOT result.
In the 'any column' filter the ORs must be replaces with ANDs in case of a NOT filter for the individual columns (De Morgan).

Does this feature exist in another product or project? Please provide a link

No response

Do you have a screenshot? Please add screenshots to help explain your idea.

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant