Commit Graph

17 Commits

Author SHA1 Message Date
Jinzhu 14a0976dd4 populate the DeletedAt field when soft delete, fix 2020-12-15 10:39:20 +08:00
Jinzhu fcf2ab6c0e Add deleted_at check when soft deleting, fix 2020-11-05 11:20:08 +08:00
Amit Basuri 57b033e2dd
Marshalling zero valued Deleted at to nullhttps://github.com/go-gorm/gorm/issues/3693 () 2020-11-02 10:03:39 +08:00
Jinzhu 3ebdcbdb18 Marshal invalid DeletedAt as null, fix 2020-10-30 19:08:20 +08:00
Jinzhu a8141b6cc9 Fix DeletedAt marshal and unmarshal, close 2020-10-30 18:15:07 +08:00
Jinzhu 9b2181199d Fix soft delete with OrCondition, close 2020-10-19 14:50:11 +08:00
Jinzhu 689d6e2331 Fix DeletedAt marshalling, close 2020-10-13 14:12:03 +08:00
Jinzhu bf6123b01e Fix duplicated soft delete clause 2020-09-01 18:05:26 +08:00
Jinzhu 3dfa8a66f1 Fix panic when delet without pointer, close 2020-08-25 17:27:28 +08:00
Jinzhu ebdb4edda8 Add AllowGlobalUpdate mode 2020-08-23 20:08:23 +08:00
Jinzhu 681268cc43 Refactor Create/Query/Update/DeleteClauses interface 2020-08-17 16:31:09 +08:00
Jinzhu 39c8d6220b Fix soft delete panic when using unaddressable value 2020-08-06 17:48:46 +08:00
Jinzhu 33c48611b6 Fix customize table with Delete, close 2020-07-10 13:08:29 +08:00
Jinzhu 2ae0653af2 Fix ambiguous column when using same column name in join table, close 2020-07-09 09:03:48 +08:00
Jinzhu e986371a42 Rename package name 2020-06-02 09:18:01 +08:00
Jinzhu b3b19a5577 Test Override NowFunc 2020-05-31 11:34:59 +08:00
Jinzhu 55074213bc Add SoftDelete support 2020-05-29 07:35:45 +08:00