-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Bool query not working... #282
Labels
type:question
Support or code-level question
Comments
Thanks for opening this issue!
|
Can you fill out the whole template? |
ok, updated |
There seems to not be a problem with this from my testing and probably something wrong with how you are saving your objects. See response here: https://community.parseplatform.org/t/parseswift-query-question/2180/9?u=cbaker6 |
Closing via response here: https://community.parseplatform.org/t/parseswift-query-question/2180/11?u=cbaker6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
New Issue Checklist
Issue Description
I can do this: Word.query(WordKey.word == “Some Text”) and it works (string compare)
I can so this: Word.query(WordKey.wordOrder < 8) and it works (int)
But this does not: Word.query(WordKey.isWordNeeded == true) Bool fields do not seem to work, it always return a 0 result set
Is there something special with a bool that I am missing?
Could this be related to this issue: #49
Steps to reproduce
Create a query as follows:
@ObservedObject var wordsWordViewModel = Word.query(WordKey.isWordNeeded == true)
.order([.descending("word")])
.viewModel
Actual Outcome
0 records are return even though several exist with the a bool value of true
Expected Outcome
several records to be returned in the result set
Environment
Heroku Server
Client
Server
Database
Logs
The text was updated successfully, but these errors were encountered: