Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 530 Bytes

db._commit.md

File metadata and controls

26 lines (19 loc) · 530 Bytes

db._commit

The _commit function is established to commit a transaction. By default, it does not need to be called explicitly.

Sample

try{
	db.change("TB1","deleteAll",{});
	db._commit();
}catch(e){
	db._rollback();
}

API

Calling Returning
db. _commit ( ) void
db. _commit ( jdbcResourceName ) void
Parameters Type Description
jdbcResourceName String To operate the transaction for another database resource, not the default.