The DocumentDB Script Explorer now supports creating, editing, and deleting stored procedures, user-defined functions, and triggers! You can read more about DocumentDB server side programming here.
Now, let’s get started with the new functionality. Within Script Explore, click the applicable command depending on the type of script you wish to create.
To see more about this click here: