Postgresql – GORM Raw sql not getting executed
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,…