I have a simple UPDATE SQL statement that I am trying to execute:
if err := gormDB.Raw("UPDATE orders SET item_id = ? WHERE client_id = ?", "item1", "client1").Error; err != nil {
return err
}
No errors are being returned, but my query is seemingly not being executed on the database. Nothing is logged, and no database changes are persisted.