scaffolding.harmonize.xqy.collector.xqy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of marklogic-data-hub Show documentation
Show all versions of marklogic-data-hub Show documentation
Library for Creating an Operational Data Hub on MarkLogic
xquery version "1.0-ml";
module namespace plugin = "http://marklogic.com/data-hub/plugins";
declare option xdmp:mapping "false";
(:~
: Collect IDs plugin
:
: @param $options - a map containing options. Options are sent from Java
:
: @return - a sequence of ids or uris
:)
declare function plugin:collect(
$options as map:map) as xs:string*
{
(: by default we return the URIs in the same collection as the Entity name :)
cts:uris((), (), cts:collection-query(map:get($options, "entity")))
};
© 2015 - 2024 Weber Informatics LLC | Privacy Policy