You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[REQUIRED] Describe the problem/steps to reproduce:
I get an error message when running a query with the not equal comparison combined with an order by on another field:
Invalid query.... You have a where filter with an inequality (<, <=, >, or >=) on field 'myDocField' and so you must also use 'myDocField' as your first argument to Query.orderBy(), but your first orderBy() is on field 'someOtherDocField' instead.
I believe the error message need to be updated to include the "!=" symbol.
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem/steps to reproduce:
I get an error message when running a query with the not equal comparison combined with an order by on another field:
I believe the error message need to be updated to include the "!=" symbol.
myQuery = myReference.where("myDocField", "!=", 0).orderBy("someOtherDocField").get(); //throws error
myQuery = myReference.where("myDocField", "!=", 0).orderBy("myDocField").orderBy("someOtherDocField").get(); //allowed
The text was updated successfully, but these errors were encountered: