Take null into account when building conditions #61

Merged
merged 1 commit into from Feb 18, 2013

2 participants

@madtrick

(Related with issue #39)

Hi again,

Today trying to do a query based on a null condition I noticed that aside from packing null as "null" other changes need to be made so that everything is balanced. I mean using "null" as a trigger for the 'is' operator in mysql.

So aside from doing this kind of query boss_db:find(module, [{field, 'equals', undefined}]) this could be used boss_db:find(module, [{field, 'equals', null}])

@evanmiller

Sounds good, thanks!

@evanmiller evanmiller merged commit 69889d8 into ErlyORM:master Feb 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment