Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 483 Bytes

db._commitAll.md

File metadata and controls

23 lines (18 loc) · 483 Bytes

db._commitAll

The _commitAll function is established to commit all transactions for all database resources. As a default, it does not need to be called explicitly.

Sample

try{
	db.change("TB1","deleteAll",{},"jdbc/efw");
	db.change("TB2","deleteAll",{},"jdbc/car");
	db._commitAll();
}catch(e){
	db._rollbackAll();
}

API

CallingReturning
db . _commitAll ( )void