database.rollbackTransaction() (Method)

Undoes any changes made in the current transaction.

Availability:

JavaScript - 1.1
Netscape Enterprise Server - 2.0
Property/method value type:Number primitive
JavaScript syntax:NESdatabase.rollbackTransaction()

In the transaction based technique, this method provides a way to rollback the changes if you have not yet committed them.

Refer to the Status Code topic for a list of the status code values that are returned by this method.

See also:database.beginTransaction(), database.commitTransaction(), Status code