Hi,

Could you elaborate a bit more on the why of what you are describing? What is 
the purpose of that doc insert? And by same transaction I guess you mean within 
same request, right?

Cheers,
Geert

From: 
<[email protected]<mailto:[email protected]>>
 on behalf of sweet frd 
<[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Friday, January 20, 2017 at 1:46 PM
To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>"
 
<[email protected]<mailto:[email protected]>>
Subject: [MarkLogic Dev General] read mode execution

Hi,

I have an xquery which will construct an xml and give back in response. The 
xquery is now executed in READ MODE. Now I want to perform a document-insert 
(write operation) within the same transaction and i want the mode not to be 
changed.

When i perform a document-insert the mode is changed to WRITE MODE.

One of the Solution : xdmp:eval is not changing the mode and performing 
document-insert.

Any other option to achieve READ mode within same transaction performing write 
operation?


Thanks in Advance,
N. Sumathi.
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to