search

Home  >  Q&A  >  body text

An error occurred during TP5 update and it really can’t be solved.

GradeModel::update(['delete_time'=>NULL, 'is_delete'=>0], ['is_delete'=>1])

There is a problem with this sentence Yes, after executing this sentence, the delete_time field value is successfully updated and all are NULL, but the is_delete field value is not updated to 0 or 1


. What is going on? ? ?

NiKOoNiKOo2622 days ago1441

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2017-11-11 22:41:41

    As the author of this tutorial, I am very happy to see you troubleshooting by yourself. A million-dollar annual salary is waving to you, come on~~

    reply
    0
  • NiKOo

    NiKOo2017-11-08 09:08:44

    The problem has been solved

    reply
    0
  • Cancelreply