filtering out firebase records

hi, so my Firebase reference currently lists all my events on my ios app I would like to filter it down to rsEventVenue

This is where I need to get to, I am currently at worthing-events-list

events-list > worthing-events-list > 2B47D4E9-942D-4304-B4A2-E010CE53C6DF > rsEventVenue


ref = FIRDatabase.database().reference().child("events-list").child("worthing-events-list")
        ref.observe(FIRDataEventType.value, with: { (snapshot:FIRDataSnapshot) in
            var newEvents = [Event]()
            for event in snapshot.children.allObjects{
                let eventObject = Event(snapshot: event as! FIRDataSnapshot)
                newEvents.append(eventObject)
            }
            print("events: \(newEvents)")
            self.noofEvents.text = String(newEvents.count)
        })

Where should I ask this question?

Where should I ask this question?

In my experience most third-party libraries have some sort of designated support channel (even if it’s just Stack Overflow). You should research that for the specific third-party library you’re using and ask your question there.

Posting a question about a third-party library here is fine: you may get lucky and have an expert in that library just happen to find it here and respond. However, you’ll increase your odds of getting help by targeting the library’s designated support channel.

Best of luck!

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
filtering out firebase records
 
 
Q