Transaction error

Report a typo

Which DB requests will be executed and which will not?

transaction {
    User.insert { ... } //          [1] ok
    User.select { ... } //          [2] ok
    User.update({ ... }) { ... } // [3] error here
    Book.insert { ... } //          [4] ok
}
Select one option from the list
___

Create a free account to access the full topic