Azure / azure-cosmosdb-js-server

The JavaScript SDK for server-side programming in Azure Cosmos DB
MIT License
179 stars 152 forks source link

[Question] Maintaining stored procedures #25

Open brightertools opened 6 years ago

brightertools commented 6 years ago

I have seen a few examples of creating and execution stored procedures, which has brought me to this repo that contains stored procedures I would like to use.

Are there any best practices or workflows around where/when to create these in documentDb for instance, I can add these manually, but would like to script these into some kind of migration when updating the application, so would like to create or drop and re-create the stored procedure if it changes, any idea on how to manage that in an automated way?