Management Studio's Patch screen

In a document oriented database, the server itself can operate with the document and not just the client. It is also possible to directly edit the data in the document on the server-side. This action in RavenDB context is called patching. With the Management Studio, you can choose to patch a Document, a Collection, or an Index using the JavaScript.

The Management Studio's Patch screen has two main areas. The first area is reserved to the Patch Script and Parameters and the second area is used to visualizing the state of a document before patching and how it will looks like after patching. This is useful because you can validate the patching script before applying it.

Note

RavenDB's patching will be discussed with more detail in Chapter 6, Advanced RavenDB Documents Capabilities.