Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let ref = Database.database().reference().child("Test")
- let Style = ref.queryOrdered(byChild: "AStyle").queryEqual(toValue: "(StyleCollect[0])").queryEqual(toValue: "(colorsCollect[0])").queryOrdered(byChild: "(brandCollect)")
- Style.observeSingleEvent(of: .value, with: { (snapchot) in
- for childSnapchot in snapchot.children {
- print(childSnapchot)
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement