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

291
Vistas
Bulk Delete Cosmos DB operations using javascript stored procedure where partitionkey is blank / ""

I'm attempting to use the below JS stored procedure to bulk delete documents in Cosmos DB (Document DB) from Azure Portal / Data Explorer. It is working for non-blank partitionKey values however it is not when the value is = "".

The stored procedure asks for a mandatory partitionKey value (as expected) and while it accepts a blank field, it won't identify records correctly (returns "deleted": 0). The equivalent ad-hoc SELECT query identifies the record successfully.

https://github.com/Azure/azure-cosmosdb-js-server/blob/master/samples/stored-procedures/bulkDelete.js

I have tried specifying partitionKey into request options adding one of below, but to no avail:

partitionKey : ""
partitionKey : null
partitionKey : {}
partitionKey : undefined
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