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 ?
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 ?