Commit Graph

13 Commits

Author SHA1 Message Date
Jinzhu 6bd0862811 Only update non blank fields that has been changed 2016-02-18 23:17:35 +08:00
Jinzhu 52ae6df6fd Test Updates with blank values 2016-02-18 20:51:49 +08:00
Jinzhu d9229c5a7b Extract method Scan from rows 2016-01-13 16:53:11 +08:00
Jinzhu 675283f0fe Testing UpdateDecodeVirtualAttributes 2016-01-12 15:47:47 +08:00
Jinzhu 2a46856d52 Fix update fields having default with empty value 2015-09-14 23:41:14 +08:00
Jay Taylor ab48cd222a `UpdateColumns(...)` no longer triggers save of associated records. 2015-03-28 14:15:12 -07:00
Jinzhu 2989e42d4d Support UpdateColumn with Select and Omit 2015-03-13 11:01:05 +08:00
Jinzhu 187eae8d9c Update with Select and Omit 2015-03-12 18:30:59 +08:00
Jinzhu 10340e6ad7 Support SQL expression 2015-02-24 22:06:35 +08:00
Paolo Galeone 064d91335b Add default values support ( https://github.com/jinzhu/gorm/issues/251 ) 2014-11-15 18:32:35 +01:00
Jinzhu 423d9496c1 update tests 2014-08-28 16:14:44 +08:00
Jinzhu 468e54f0ee Refact tests 2014-07-29 16:04:40 +08:00
Jinzhu cb7d545ac0 Refact tests 2014-07-29 11:38:28 +08:00