ml-modules.root.data-hub.data-services.provenance.deleteProvenance.mjs 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
'use strict';
// No privilege required: The xdmp.securityAssert call is in the deleteProvenance function.
import provLib from "/data-hub/5/provenance/prov-lib.mjs";
const endpointConstants = external.endpointConstants;
const endpointState = external.endpointState;
provLib.deleteProvenance(fn.head(xdmp.fromJSON(endpointConstants)), endpointState);
© 2015 - 2024 Weber Informatics LLC | Privacy Policy