-
Notifications
You must be signed in to change notification settings - Fork 138
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
How to find data where field is empty? #16
Comments
What adapter are you using? |
I use mongodb |
Do you have the same problem with other adapters? E.g. the mock adapter |
It seems there's no problem with mock adapter, I can find data by empty field, I haven't try any others though, I use mongodb mainly |
@chakhedik I'll have a look. @evanmiller Haven't been following CB lately. Just checked out latest version e001c1a and getting a compilation error when building the framework: $ make My config: Am I missing something? |
Instead of "make" try ./rebar get-deps |
Let say the model is 'something' have field 'id' & 'anything',
A = something:new(id, []),
A:save().
boss_db:find(something, [{anything, []}]) or boss_db:find(something, [{anything, ""}]) does not return anything, just an empty list
I've tried the 'equals' & 'matches' also the same.
The text was updated successfully, but these errors were encountered: