Merge 64f61aaaf99af2b8e8623fe9ac17f1b44a20bc70 into 3c28ceea6685339ae6e03d0ad0c905d7610fc034

This commit is contained in:
Rohan 2015-06-15 19:46:18 +00:00
commit 3d9bc937c1

View File

@ -861,6 +861,9 @@ All individual save and delete operations are run in a transaction by default.
// begin
tx := db.Begin()
// do revertable work in a transaction (use 'tx' in place of 'db')
tx.Exec
// rollback
tx.Rollback()