flexrep:get-target-name( $domain-id as xs:unsignedLong, $target-id as xs:unsignedLong ) as xs:string?
Get a target's name, or nothing if the domain or target does not exist.
Parameters | |
---|---|
domain-id | The domain ID. |
target-id | The target ID. |
xquery version "1.0-ml"; import module namespace flexrep = "http://marklogic.com/xdmp/flexible-replication" at "/MarkLogic/flexrep.xqy"; flexrep:get-target-name($domain-id, $target-id)
http://marklogic.com/xdmp/privileges/flexrep-user