DataWriter Replace Into?


Well-known member
I have a primary key set for a column and I want to use the data writer to do a replace into. Has anyone attempted this before? Is the functionality already there? If so, what should the call order be?



Well-known member
You would have to check if the record exists, if not then save the data without setting setExistingData(). If the record already exists, you add setExistingData() to update your existing record.

The model is there to use any functions, like "REPLACE INTO".