Your Question
Update attributes with multiple where clauses, the result RowsAffected always is zero, is it right? It only works when one where clause.
Gorm: v1.25.5 MySQL: 8.0.31 Go: 1.21.4
The "result.RowsAffected" always is zero.
The generated SQL works fine and returns 1 row affected.
The document you expected this should be explained
https://gorm.io/docs/update.html#Updated-Records-Count
Expected answer
Comment From: JamesYuan
Close issue, it works with multiple where clauses. It seems Unicode program with my issue when update once.