Loading TOC...

MarkLogic 12 EA 2 Product Documentation
xdmp:triggers-database

xdmp:triggers-database(
   [$database-id as xs:unsignedLong]
) as xs:unsignedLong

Summary

Returns the database ID of the triggers database associated with the current database.

Parameters
database-id A database ID. Defaults to the current database.

Example

xdmp:triggers-database()
=> 8447094497219470018

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.