name: Transaction
sort: 7
Transaction
ORM has the basic transaction support
o := NewOrm()err := o.Begin()// transaction process......// All the query which are using o Ormer in this process are in the transactionif SomeError {err = o.Rollback()} else {err = o.Commit()}
