Skip to content

feat: Support IS NULL and IS NOT NULL conditions #143

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

Merged

Conversation

alireza-hosseini
Copy link
Contributor

This PR Adds the possibility to check if the given field is null or not as a condition.
Here is an example of this new feature:

conditions = [
    {'field': 'trans_error',
     'type': 'FLOAT',
     'comparators': [
         {
             'condition': 'IS NOT NULL',
         }
     ]
     },
    {'field': 'rot_error',
     'type': 'FLOAT',
     'comparators': [
         {
             'condition': 'IS NOT NULL',
         }
     ]
     }
]

@alireza-hosseini alireza-hosseini changed the title feat: Support IS NULL and IS NOT NULL condition feat: Support IS NULL and IS NOT NULL conditions Jan 30, 2018
@tylertreat tylertreat merged commit e5a2a8b into tylertreat:master Jan 30, 2018
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

Successfully merging this pull request may close these issues.

2 participants