Forum Post: RE: EMPTY TEMP-TABLE

  • Thread starter Thread starter egarcia
  • Start date Start date
Status
Not open for further replies.
E

egarcia

Guest
Hello Roger, You could use the addRecords() method by adding no records using the EMPTY mode. Examples: - jsdo.eCustomer.addRecords({}, progress.data.JSDO.MODE_EMPTY) - jsdo.addRecords({}, progress.data.JSDO.MODE_EMPTY) The addRecords() method is valid at the jsdo instance if there is only one temp-table. The difference between this approach and using the remove() method is that remove() marks the record to be deleted in the JSDO and if you call saveChanges() a DELETE operation would be sent to the backend. I hope this helps.

Continue reading...
 
Status
Not open for further replies.
Back
Top