Commit Graph

120 Commits

Author SHA1 Message Date
Jinzhu 6ed697dd02 TestFirstOrCreateWithPrimaryKey, close #3192 2020-07-23 23:41:56 +08:00
Jinzhu 2ae0653af2 Fix ambiguous column when using same column name in join table, close #3120 2020-07-09 09:03:48 +08:00
Jinzhu 2d945a9641 Switch pgx as default driver 2020-07-03 08:54:12 +08:00
Jinzhu cb5a35a807 Test group with table name 2020-06-26 08:39:18 +08:00
Jinzhu c5feff1591 Fix go.mod 2020-06-25 08:08:37 +08:00
Jinzhu 1b28c187c0 Fix create with default value 2020-06-25 08:00:10 +08:00
Jinzhu 3ec7ed1d51 Upgrade default mysql driver 2020-06-24 20:19:28 +08:00
Jinzhu d0764bead1 Test migrate with comment and check created constraints 2020-06-21 13:59:43 +08:00
Jinzhu fee1e4aafd Fix create foreign keys for many2many relations 2020-06-21 10:48:23 +08:00
Jinzhu a1e35bdc94 Support merge batch data some having primary values 2020-06-20 16:52:15 +08:00
Jinzhu 7dc255acfe Add SavePoint/RollbackTo/NestedTransaction 2020-06-19 18:30:04 +08:00
Jinzhu 96368eb967 Test embedded struct implements Scan & Value interface 2020-06-18 09:15:23 +08:00
Jinzhu 6b2f37189e Fix few cases with postgres 2020-06-18 08:40:41 +08:00
Jinzhu 1af325ab4f Upgrade sqlserver driver 2020-06-10 16:06:54 +08:00
Jinzhu dbc3f8feb0 Add count soft deleted record test 2020-06-10 13:42:39 +08:00
Jinzhu 649d02fddd Add batch upsert tests 2020-06-09 09:04:32 +08:00
Jinzhu 1490a062db Refactor codebase and add benchmark test 2020-06-05 23:26:56 +08:00
Jinzhu d50879cc28 Add field permission test 2020-06-05 19:18:22 +08:00
Jinzhu b32658358c Fix can't scan null value into normal data types 2020-06-03 09:00:20 +08:00
Jinzhu 8bb05a5a69 Refactor tests files 2020-06-02 10:50:38 +08:00