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

127
Vistas
storing duplicates in Firestore

i currently made a code that allows to import a CSV file into the website,transform it to JSON and then upload it to the firestore database,however in the unique ID that i want to provide for the document names,i have duplicates,because some information in the duplicates are different but i need them none the less,so when there are duplicates firestore only inserts the first document and if it's duplicated it ignores it,my question is,how can i do something that when firestore,finds duplicates,it adds them to a different collection,for example,i have an id called BMW for a collection called cars,BMW will be added to cars collection,then let's say i have 2 more instances of BMW,i want them to be added to the collection called CARS(duplicate)and i want both BMWS to be uploaded into that collection,not just 1,is this achievable? if yes how can i achieve this?, thank you

about 4 years ago · Juan Pablo Isaza
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