search

Home  >  Q&A  >  body text

The update method cannot update data with a field value of 0

tp6 In the update method of the model, when the field value included in the updated data is 0, the field cannot be updated, but it can be updated when it is 00. What's going on?

Mr.OMr.O1275 days ago869

reply all(1)I'll reply

  • 猪老湿

    猪老湿2021-05-21 16:12:56

    View the generated sql statement and analyze the data type

    reply
    0
  • Cancelreply