You are currently browsing legacy 4.0 version of documentation. Click here to switch to the newest 5.1 version.
The server side triggers were often the source of problems in RavenDB 3.x, especially related to performance. In RavenDB 4.0 the notion of triggers has been removed completely.
Some of the capabilities can be achieved using client side events. The simpliest example would be to can use
OnBeforeDelete to prevent from creating or deleting some documents.