Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

213
Vistas
Access nested value in Firebase Realtime Database

I'm a Firebase newbie and I would like to figure out how to access deep nested data in Realtime Database. Let's suppose I have the following structure:

enter image description here

I would like to get the block of data in which location -> Id value corresponds to 3154380, (in this case is the second one)

How could achieve this ?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Just put the sub-path in .orderByChild and use .equalTo:

database().ref('reports').orderByChild('location/id').equalTo('3174380');

However, I will say, you should really look at flattening your data structure for best performance and usability in this environment.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda