I have a structure of objects in Firebase looking like this:
-KBP27k4iOTT2m873xSE categories Geography: true Oceania: true correctans
I think this should work:
ref.queryOrderedByChild("categories/Oceania").queryEqualToValue(true)