HowTo use Query builder and transaction together


How can i use Query builder and transaction togather ?

I don’t think there is anything special. Just start transaction as described in the guide, build and execute your queries then commit (or rollback).

P.S. Since Query Builder is a Yii 1.1 feature, it’s unlikely that you use Yii 1.0. You can get your questions answered faster if you post them to the appropriate forum.

Premire thank you, and I really apologize for this error.