Hi Garrett ,
> Is there a way to determine if the new object was actually inserted?
>
There is no direct way to determine that. As there is no easy way to
determine how many nodes were actually inserted. In the provided example you
can workaround using "treat as node()+" expression:
update insert <OBJECT3 id="4"></OBJECT3> into ( doc("mydoc")//*...@id='99']
treat
as node()+ )
Treat expression will prevent empty sequence in the second argument.
Does SEDNA_UPDATE_SUCCEEDED just mean the syntax of the stament is correct?
>
Nope. It means that update completed successfully. Update of empty sequence
is considered valid - it just does nothing. Example with treat has correct
syntax but raises dynamic error.
Ivan Shcheklein,
Sedna Team
------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months. Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion