Closed LilMoke closed 2 years ago
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
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: https://github.com/parse-community/Parse-Swift/pull/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