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

238
Vistas
Firestore, when has to change field name during service

I need to change the String field stored in Firestore to a List

The idea that comes to my mind right now is to transform the list when users enter the first screen if it is not yet transformed into a list. However, if you do this, you have to execute the if conditional statement on the first screen every time.

It would be a very, very slight loss in terms of performance, but I think I am not satisfied somehow. Is there a more effective way?


(I put it in MongoDB Tag because thinking that it would be the same in this case)

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

There isn't any direct way in Firestore to update field type so you'll have to first read value of the string field and then update it back in the document. If you need to fetch that document every time user visits the screen maybe you can just check for field type and run this logic.

over 4 years ago · Santiago Trujillo 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