Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

135
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda