Does it have solution? When I read in firebase documentation, it said "You can only use one order-by method at a time. Calling an order-by method multiple times in the same query throws an error."
let recentPostsQuery = (ref?.child("posts").queryOrdered(byChild: "postType").queryEqual(toValue: "1").queryOrdered(byChild: "timestamp"))
I wrote like that. But I found some problem. Does it have any solution? Thank.