1

I'm creating a set of MarkLogic REST extensions that will be used in Mulit-Statement ACID Transactions.

The underlying code will call xdmp:eval() with a transaction-id option.

Unfortunately, the transaction-id option is not documented.

Can someone please provide an example of using xdmp:eval() with a transaction-id option?

1 Answer 1

4

The option (usable on eval or invoke) is called (creatively) transaction-id.

You can see an example in the eput:invoke-transaction() function within Modules/MarkLogic/rest-api/lib/endpoint-util.xqy

Expected Caveat: Because it is undocumented, use at your own risk. The Support organization probably won't be in a position to answer questions about it.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.