Sign In Register

How can we help you today?

Start a new topic
Answered

nModified

How do we access the number of row modified by a XCollection.update() request to validate that an update has really been made? 

The return value is of no help as it return true even if no row were modified as long as no error was generated,.

And looking back with a XCollection.findone() to see if the change was made is problematic when many update are done back to back.


What have I missed?


Best Answer

If anyone is interested, I managed to validate my update by using XCollection.findAndModify()

By the way, the parameters of the example found here on the use of this function are in the incorrect order.


1 Comment

Answer

If anyone is interested, I managed to validate my update by using XCollection.findAndModify()

By the way, the parameters of the example found here on the use of this function are in the incorrect order.