[MarkLogic Dev General] Error :XDMP-CONFLICTINGUPDATES
Hi Rob, I was just constructing the $contents . Any thoughts? let $contents :={'key':'value'} return xdmp:invoke-function( function() {dls:document-insert-and-manage("/test/test001.json", fn:true(),$contents,(),(),"TEST-COLLECTION"), xdmp:commit() }, update ); ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
Re: [MarkLogic Dev General] Error XDMP-CONFLICTINGUPDATES: xdmp:document-insert("/test/test001.json"
What happens before the return? That error essentially means that you're trying to update the same document twice. Best, Rob Rob Szkutak Senior Consultant MarkLogic Corporation rob.szku...@marklogic.com www.marklogic.com<http://www.marklogic.com> From: general-boun...@developer.marklogic.com [general-boun...@developer.marklogic.com] on behalf of Shiv Shankar [shiv.shivshan...@gmail.com] Sent: Wednesday, September 21, 2016 9:54 AM To: general@developer.marklogic.com Subject: [MarkLogic Dev General] Error XDMP-CONFLICTINGUPDATES: xdmp:document-insert("/test/test001.json" Hi, I'm keep getting this below error. Any thoughts. [1.0-ml] XDMP-CONFLICTINGUPDATES: xdmp:document-insert("/mmis/test001.json" my code is : return xdmp:invoke-function( function() {dls:document-insert-and-manage("/mmis/test001.json", fn:true(),$contents,(),(),"TEST-COLLECTION"), xdmp:commit() }, update ); ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Error XDMP-CONFLICTINGUPDATES: xdmp:document-insert("/test/test001.json"
Hi, I'm keep getting this below error. Any thoughts. [1.0-ml] XDMP-CONFLICTINGUPDATES: xdmp:document-insert("/mmis/test001.json" my code is : return xdmp:invoke-function( function() {dls:document-insert-and-manage("/mmis/test001.json", fn:true(),$contents,(),(),"TEST-COLLECTION"), xdmp:commit() }, update ); ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general