
infodev:transaction-size( $policy-name as xs:string?, $policy-deltas as element(info:options)* ) as xs:positiveInteger
[DEPRECATED] This function resolves the transaction size parameter based on stored policy and runtime options and returns an integer that represents the maximum number of documents to handled in a single transaction.
| Parameters | |
|---|---|
| policy-name | The name of a stored ingestion policy. Uses default policy if none is provided. |
| policy-deltas | Zero or more options nodes that override those in the stored or default policy. |
xquery version "1.0-ml";
import module namespace infodev = "http://marklogic.com/appservices/infostudio/dev"
at "/MarkLogic/appservices/infostudio/infodev.xqy";
infodev:transaction-size("default", ())
(: Returns the max-docs-per-transaction size set in the default policy. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.