Commit Graph

19 Commits

Author SHA1 Message Date
Jinzhu 9fcc337bd1 Fix create from map 2020-08-17 17:41:36 +08:00
Jinzhu 6ed697dd02 TestFirstOrCreateWithPrimaryKey, close #3192 2020-07-23 23:41:56 +08:00
Jinzhu 1a2fabb34d Test Not 2020-07-05 11:56:12 +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 5883490aa7 Select, Omit, Preload supports clause.Associations 2020-06-20 17:21:01 +08:00
maiyama18 1bbaa43951
fix typos in test method names (#3052) 2020-06-14 09:24:07 +08:00
Jinzhu 8bb05a5a69 Refactor tests files 2020-06-02 10:50:38 +08:00
Jinzhu 5790ba9ef4 Fix package path 2020-06-02 09:25:55 +08:00
Jinzhu e986371a42 Rename package name 2020-06-02 09:18:01 +08:00
Jinzhu 9d3e929790 Test Select, Omit with Create 2020-05-31 13:34:53 +08:00
Jinzhu 1546f8a4a1 Test CreateWithNoGORMPrimayKey 2020-05-31 12:52:49 +08:00
Jinzhu b3b19a5577 Test Override NowFunc 2020-05-31 11:34:59 +08:00
Jinzhu 1e7eb12cba Test empty struct 2020-05-31 11:19:45 +08:00
Jinzhu 590f622674 Refactor create tests 2020-05-23 22:32:16 +08:00
Jinzhu 5ec4fee797 Don't preload if foreign keys zero 2020-05-23 21:09:03 +08:00
Jinzhu e64785573d Add helper methods to check user, pet 2020-05-23 18:05:26 +08:00
Jinzhu bb68f0d6b3 Refactor tests 2020-05-23 16:08:50 +08:00
Jinzhu d833efe8b9 Work on clauses 2020-02-02 19:11:17 +08:00
Jinzhu 8cb15cadde Improve test structure 2020-02-02 08:35:01 +08:00