Do you need any help with Migration?

Not Now Yes, Contact Support

You are currently browsing legacy 4.1 version of documentation. Click here to switch to the newest 4.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Migration: Triggers

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 OnBeforeStore / OnBeforeDelete to prevent from creating or deleting some documents.