Commit Graph

160 Commits

Author SHA1 Message Date
Jinzhu d5d31b38a7 Test group with table name 2020-07-01 19:49:04 +08:00
Jinzhu 81f4fafae4 Test group by with multiple columns 2020-07-01 19:49:04 +08:00
Jinzhu af632199cf Test set string field's default value to blank string 2020-07-01 19:49:04 +08:00
Jinzhu c888560a0e Fix go.mod 2020-07-01 19:49:04 +08:00
Jinzhu dcdcc6fedc Fix create with default value 2020-07-01 19:49:04 +08:00
Jinzhu 4cbd99aa94 Add default value test 2020-07-01 19:49:04 +08:00
Jinzhu 19f56ddc2a Upgrade default mysql driver 2020-07-01 19:49:04 +08:00
Jinzhu 6b92bca664 Update test script 2020-07-01 19:49:04 +08:00
Jinzhu 630f4fe03f Create join table with ReorderModels 2020-07-01 19:49:04 +08:00
Jinzhu 67bd842645 Update tests all script 2020-06-24 14:56:04 +08:00
Jinzhu 7e1fa4a44d Fix Count after Session 2020-06-23 22:41:41 +08:00
Jinzhu 4201f7bdab Fix create unique index when creating table, close #3081 2020-06-23 22:14:41 +08:00
Hinagiku Soranoba b733d16f56
Create supports Array / ArrayPtr (#3076)
* add Array / ArrayPtr create tests

* support create using array
2020-06-23 14:38:36 +08:00
Jinzhu e77e7bb842 Fix nested embedded field with pointer, close #3071 2020-06-23 09:12:57 +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 5883490aa7 Select, Omit, Preload supports clause.Associations 2020-06-20 17:21:01 +08:00
Jinzhu a1e35bdc94 Support merge batch data some having primary values 2020-06-20 16:52:15 +08:00
Jinzhu 3d8f6f9cf9 Test GroupConditions 2020-06-20 01:55:30 +08:00
Jinzhu 4f19e2a7b3 Test ForeignKeyConstraints 2020-06-20 01:20:18 +08:00
Jinzhu d4d339f3b5 Handle data type cases 2020-06-19 22:51:46 +08:00
Jinzhu e3292b3b41 Test with latest driver vesion 2020-06-19 18:44:19 +08:00
Jinzhu 7dc255acfe Add SavePoint/RollbackTo/NestedTransaction 2020-06-19 18:30:04 +08:00
Jinzhu 2c1b04a2cf Fix failed to create second record in same transaction, close #3060 2020-06-19 12:38:03 +08:00
Jinzhu 07960fe661 Fix []byte support 2020-06-18 11:24:08 +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 e487f355a0 Add DB method 2020-06-17 19:57:54 +08:00
maiyama18 1bbaa43951
fix typos in test method names (#3052) 2020-06-14 09:24:07 +08:00
Jinzhu 1af325ab4f Upgrade sqlserver driver 2020-06-10 16:06:54 +08:00
Jinzhu 45cb6b49bf Add FindInBatches support 2020-06-10 15:36:34 +08:00
Jinzhu dbc3f8feb0 Add count soft deleted record test 2020-06-10 13:42:39 +08:00
Jinzhu 0d58d5a3a7 Upsert selected columns 2020-06-10 10:48:48 +08:00
Jinzhu f3424c6864 Support save slice of data 2020-06-10 00:02:14 +08:00
Jinzhu 22ff8377df Fix Pluck with Table only 2020-06-09 15:36:10 +08:00
Jinzhu 649d02fddd Add batch upsert tests 2020-06-09 09:04:32 +08:00
Jinzhu f0b6bd9ee0 Fix typo 2020-06-08 23:25:16 +08:00
Jinzhu 8f8d549ca3 Refactor merge where exprs 2020-06-08 09:13:34 +08:00
Jinzhu e7b2e92ce3 Remove RecordNotFound method 2020-06-07 22:03:45 +08:00
Jinzhu d11c424334 Fix typo 2020-06-07 15:26:43 +08:00
Jinzhu 82d55b1054 Add OnConflict DoUpdates test 2020-06-07 12:50:00 +08:00
Jinzhu a954d772d7 Support customize gorm field type 2020-06-06 10:47:32 +08:00
Jinzhu 1490a062db Refactor codebase and add benchmark test 2020-06-05 23:26:56 +08:00
Jinzhu 163200d05f Test Hooks 2020-06-05 20:24:15 +08:00
Jinzhu eda2f023b0 Add Distinct support 2020-06-05 19:19:12 +08:00
Jinzhu d50879cc28 Add field permission test 2020-06-05 19:18:22 +08:00
Jinzhu c8e7878b3e Add PrepareStmt support 2020-06-05 11:40:24 +08:00
Jinzhu b32658358c Fix can't scan null value into normal data types 2020-06-03 09:00:20 +08:00
Jinzhu 94685d1024 Fix can't scan null value into normal data types 2020-06-02 23:30:26 +08:00
Jinzhu 8bb05a5a69 Refactor tests files 2020-06-02 10:50:38 +08:00