search

Home  >  Q&A  >  body text

Is the return value of the static update method used as a judgment condition? No way! Regardless of whether the update is successful or not, the model object is returned.

Video 11:51 here

手机用户632118945手机用户632118945970 days ago981

reply all(2)I'll reply

  • autoload

    autoload2022-06-27 09:25:01

    The update operation only performs data update and does not need to determine the return value. If an update error occurs, an exception is thrown.

    reply
    0
  • 手机用户632118945

    Well, I just don’t quite understand this way of writing.

    手机用户632118945 · 2022-06-29 11:26:14
  • Cancelreply