I want to query my data with a where clause with an or. Below is my current code.
let friendQuery = friendMapRef.queryEqualToValue(loggedUser.UserId, childKey: "sender_id")
And its retrieving fine, but i want to match if any friend map has sender_id value as my userid or receiver_id as my userid value. How can i achieve this?