
xdmp.schemaDatabase( [database-id as (Number|String)] ) as (Number|String)
Returns the database ID of the schema database associated with the current database.
| Parameters | |
|---|---|
| database-id | A database ID. Defaults to the current database. |
xdmp:schema-database() function as the second
parameter to xdmp:eval-in(). xdmp.schemaDatabase(); => 15467547981724877000
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.