- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for New2 (0.01 sec)
-
tests/hooks_test.go
} // Code changed, but not selected, price should not change DB.Model(&product).Select("Name", "Price").Updates(map[string]interface{}{"Name": "Product New2", "code": "L1213"}) if product.Name != "Product New2" || product.Price != 170 || product.Code != "L1212" { t.Errorf("invalid data after update, got %+v", product) } // Code changed, price should changed
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 17 03:59:06 UTC 2024 - 16.7K bytes - Viewed (0)