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

Add notEquals (!=) predicate #216

Closed
fabricereix opened this issue Jun 23, 2021 · 0 comments · Fixed by #220
Closed

Add notEquals (!=) predicate #216

fabricereix opened this issue Jun 23, 2021 · 0 comments · Fixed by #220
Labels
enhancement New feature or request
Milestone

Comments

@fabricereix
Copy link
Collaborator

This is equivalent to the combination of not + equals
but this is more readable with the operator version.

jsonpath "$.id" not equals 100
jsonpath "$.id" not == 100
jsonpath "$.id" notEquals 100
jsonpath "$.id" != 100
@fabricereix fabricereix added enhancement New feature or request 1.3.0 labels Jun 23, 2021
@fabricereix fabricereix linked a pull request Jun 27, 2021 that will close this issue
@fabricereix fabricereix changed the title Add Predicate NotEquals (!=) Add notEquals (!=) predicate Sep 1, 2021
@lepapareil lepapareil added this to the 1.3.0 milestone Oct 12, 2021
@lepapareil lepapareil removed the 1.3.0 label Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants