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

Finding objects where a field is null #72

Closed
DavidBennettUK opened this Issue Aug 22, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@DavidBennettUK

DavidBennettUK commented Aug 22, 2015

Is there any support for querying for objects with a null field? Something like RushSearch.whereNull/whereNotNull would be great, unless I'm missing something.

I have a model with a date field that can be null, and would like to find all of these instances, but I can't find any methods in RushSearch that will help me do so.

@DavidBennettUK

This comment has been minimized.

Show comment
Hide comment
@DavidBennettUK

DavidBennettUK Aug 22, 2015

Created a pull request for RushCore to add this functionality. See Stuart-campbell/RushCore#2

DavidBennettUK commented Aug 22, 2015

Created a pull request for RushCore to add this functionality. See Stuart-campbell/RushCore#2

@Stuart-campbell

This comment has been minimized.

Show comment
Hide comment
@Stuart-campbell

Stuart-campbell Aug 22, 2015

Owner

Hi,

Good suggestion I have merged your changes into RushCore. I will do an updated release shortly.

Thanks

Owner

Stuart-campbell commented Aug 22, 2015

Hi,

Good suggestion I have merged your changes into RushCore. I will do an updated release shortly.

Thanks

@Stuart-campbell

This comment has been minimized.

Show comment
Hide comment
@Stuart-campbell

Stuart-campbell Sep 13, 2015

Owner

Added in v1.1.10 sorry for the delay.

Owner

Stuart-campbell commented Sep 13, 2015

Added in v1.1.10 sorry for the delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment