Abandons all cached updates in the database.

Syntax

<oRef>.abandonUpdates( )

<oRef>

The database whose cached changes you want to abandon.

Property of

Database

Description

abandonUpdates( ) discards all changes to a database that have been cached. Unlike applyUpdates( ), it cannot fail. See cacheUpdates for more information on caching updates.

Changes to the current row that have not been written are still in the row buffer, and have not been cached. To abandon changes made to the row buffer, call the rowset’s abandon( ) method.