MarkLogic 12 EA 1 Product Documentation
xdmp.productEnvironment

xdmp.productEnvironment() as String

Summary

Returns the current MarkLogic product environment.

Example

xdmp.productEnvironment();
=> "production"
Powered by MarkLogic Server | Terms of Use | Privacy Policy