Reputation: 291
save()
generates SQL commands as well as emits signals, while update()
only generates raw SQL. I feel the transaction management would also work on update()
. Is it true?
Upvotes: 0
Views: 74
Reputation: 308769
Yes, the transaction management will work for update
statements as it does for save
.
Upvotes: 1