-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Boolean Fields Aren't Returned Boolean Types #203
Comments
Instead of doing |
Alright. This is the returned string. SELECT * FROM Score WHERE valid = ? |
K, thanks. I'll take a look at this today. In the meantime, best to use |
Awesome thanks! |
joshuapinter
added a commit
to joshuapinter/ActiveAndroid
that referenced
this issue
Apr 6, 2014
This works: .where("booleanField = ?", 0) This doesn't work: .where("booleanField = ?", false)
joshuapinter
added a commit
to joshuapinter/ActiveAndroid
that referenced
this issue
Apr 6, 2014
This works: .where("booleanField = ?", 0) This doesn't work: .where("booleanField = ?", false)
joshuapinter
added a commit
to joshuapinter/ActiveAndroid
that referenced
this issue
Apr 6, 2014
Fixes Issue pardom-zz#203.
@aejnsn This is fixed with the attached commits. Just waiting for @SeanPONeil to merge in the pull request. |
Good work, sir. Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This works as intended:
This does not work as intended:
My model looks like this:
If I had more time outside of the project I'm working on, I'd look into the code more and submit a PR to change this bit. Can someone confirm this is an issue or comment if I am missing something?
Thanks!
The text was updated successfully, but these errors were encountered: