You are currently browsing legacy 3.5 version of documentation. Click here to switch to the newest 5.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Commands: Transformers: How to change transformer lock mode?

SetTransformerLock method allows you to change transformer lock mode for a given transformer.


public void setTransformerLock(String name, TransformerLockMode lockMode);
name String name of a transformer to change lock mode for
lockMode TransformerLockMode new transformer lock mode


store.getDatabaseCommands().setTransformerLock("Orders/Company", TransformerLockMode.LOCKED_IGNORE);