Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 421 Bytes

db._commitAll.md

File metadata and controls

22 lines (16 loc) · 421 Bytes

db._commitAll

The _commitAll function is established to commit all transactions for all database resources. By 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

Calling Returning
db. _commitAll ( ) void