Tag Archives: Azure

How to remove records from Cosmos DB

There is no direct way how to remove a bunch of records from Cosmos DB. Simple query like DELETE * FROM c where c.IoTHub.ConnectionDeviceId != "VariablSpeedDrivesSimulator_test" doesn’t work. But workaround exists. You should create a stored procedure bulkDeleteSproc: /** * … Continue reading

Posted in IT рецепты | Tagged , , | Leave a comment