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
So trying to sort Ascending w.r.t createdAt but Descending wtr ANOTHER_KEY.
now if i call parseQuery.orderByDescending("createdAt,ANOTHER_KEY"), everything is fine, but if i do
parseQuery.orderByDescending("ANOTHER_KEY"),
parseQuery.addOrderByAscending("createdAt")
it throws a parse exception from the parseserver saying createdAt is not a valid order key.
I looked at the source, for the REST api, you simply add the key with a '-' sign for descending so why is this happening ?
The text was updated successfully, but these errors were encountered:
So trying to sort Ascending w.r.t createdAt but Descending wtr ANOTHER_KEY.
now if i call parseQuery.orderByDescending("createdAt,ANOTHER_KEY"), everything is fine, but if i do
parseQuery.orderByDescending("ANOTHER_KEY"),
parseQuery.addOrderByAscending("createdAt")
it throws a parse exception from the parseserver saying createdAt is not a valid order key.
I looked at the source, for the REST api, you simply add the key with a '-' sign for descending so why is this happening ?
The text was updated successfully, but these errors were encountered: