scaffolding.harmonize.sjs.writer.sjs 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
/*~
* Writer Plugin
*
* @param id - the identifier returned by the collector
* @param envelope - the final envelope
* @param options - an object options. Options are sent from Java
*
* @return - nothing
*/
function write(id, envelope, options) {
xdmp.documentInsert(id, envelope, xdmp.defaultPermissions(), options.entity);
}
module.exports = write;
© 2015 - 2024 Weber Informatics LLC | Privacy Policy