Deprecation of transaction-mode Option to xdmp:eval
The transaction-mode
option of the xdmp:eval
XQuery function and the xdmp.eval
JavaScript function is deprecated as of MarkLogic 9.0-2. Use the commit
and update
options instead. For more details, see the function reference documentation for xdmp:eval
(XQuery) and xdmp.eval
(JavaScript).
This option deprecation (and alternative option settings) apply to the following functions:
XQuery |
JavaScript |
---|---|
|
|
|
|
|
|
|
|
|
|
|
The following table illustrates the correspondence between the old and new option settings:
|
Equivalent |
---|---|
|
|
|
|
|
|
|
|