batch action in one transaction

db.begin();
db.save();
db.save();
db.commit();