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 support of NULL and NOT_NULL operators #359

Merged
merged 3 commits into from
Jun 1, 2019

Conversation

andrykonchin
Copy link
Member

@andrykonchin andrykonchin commented Jun 1, 2019

Added new operators null and not_null for where chain method conditions. They keep semantic of NULL and NOT_NULL operators (documentation).

Example:

Address.where('postcode.null': false)
Address.where('postcode.not_null': true)

Related Issue #358

@andrykonchin andrykonchin force-pushed the add-null-and-not-null-predicates branch from 3e02e24 to 23398e7 Compare June 1, 2019 16:33
@andrykonchin andrykonchin merged commit 8648087 into master Jun 1, 2019
@andrykonchin andrykonchin deleted the add-null-and-not-null-predicates branch June 1, 2019 17:43
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.

1 participant