Commit Graph

2611 Commits

Author SHA1 Message Date
Jinzhu c07a08d88b Support mssql 2020-05-30 10:50:56 +08:00
Jinzhu db428f221f Fix postgres tests 2020-05-30 00:18:22 +08:00
Jinzhu 6f4602af11 Fix mysql tests 2020-05-29 23:38:03 +08:00
Jinzhu d05128be78 OnConflict support for mysql 2020-05-29 22:34:35 +08:00
Jinzhu 55074213bc Add SoftDelete support 2020-05-29 07:35:45 +08:00
Jinzhu dca5244387 Add FirstOrCreate support 2020-05-28 16:21:10 +08:00
Jinzhu ac8708b500 Add FirstOrInit support 2020-05-28 13:12:56 +08:00
Jinzhu 5be642a435 Add ScanRows support 2020-05-26 23:13:05 +08:00
Jinzhu 51c5be0503 Finish Scan support 2020-05-26 21:30:17 +08:00
Jinzhu c299cb8db6 Refactor association 2020-05-26 11:19:01 +08:00
Jinzhu 8de2bb4eab Test single table many2many association 2020-05-26 01:57:22 +08:00
Jinzhu 33a58c548b Test single table has many association 2020-05-26 01:43:10 +08:00
Jinzhu 457f1e5d73 Test Many2Many Association for Slice 2020-05-26 01:21:15 +08:00
Jinzhu dea48a8c59 Test Many2Many Association 2020-05-26 00:16:44 +08:00
Jinzhu cc064f26ee Add on conflict support 2020-05-25 23:11:42 +08:00
Jinzhu 135d9f8b03 Test HasMany Association for Slice 2020-05-25 11:57:58 +08:00
Jinzhu 5d9b57cc4e Test HasMany Association 2020-05-25 11:11:09 +08:00
Jinzhu 91eaf0bb21 Test HasOne Association for Slice 2020-05-24 23:43:42 +08:00
Jinzhu 6a0ef985ff Test Polymorphic HasOne Association 2020-05-24 23:28:06 +08:00
Jinzhu 68a7a8207a Test HasOne Association 2020-05-24 23:07:42 +08:00
Jinzhu 677c745b62 Test shared association 2020-05-24 21:46:53 +08:00
Jinzhu 2db33730b6 Add Slice Association for BelongsTo 2020-05-24 20:53:20 +08:00
Jinzhu 91a695893c Test Association For BelongsTo 2020-05-24 18:33:15 +08:00
Jinzhu cbc4a81140 Add Count tests 2020-05-24 11:35:19 +08:00
Jinzhu 1c39ac921b Test preload with conds 2020-05-24 01:16:08 +08:00
Jinzhu e60a8d54ff Test Nested Preload 2020-05-24 00:52:25 +08:00
Jinzhu f0a442adff Refactor tests 2020-05-23 23:50:48 +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 2ca4e91d88 Fix LastInsertID with string primary key 2020-05-23 18:38:55 +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 72460df1bd Fix associations find 2020-05-23 11:57:28 +08:00
Jinzhu 0f21272c7f Finish implement association support 2020-05-20 23:44:50 +08:00
Jinzhu 20cb57b1ac Add association Delete support 2020-05-20 02:03:43 +08:00
Jinzhu 922a8efc53 Generate Query Conds for Relationship 2020-05-19 21:50:06 +08:00
Jinzhu 59365b776b Refacotr Preload 2020-05-18 13:07:11 +08:00
Jinzhu f999240e10 Define association API, add conds to when preloading 2020-05-14 20:54:50 +08:00
Jinzhu 92b812408c Test many2many associations 2020-05-14 15:05:04 +08:00
Jinzhu 42aae57240 Test Preload for BelongsTo/HasOne/HasMany 2020-05-14 14:41:33 +08:00
Jinzhu b549f9bb9a Implement preload support 2020-05-14 12:19:12 +08:00
Jinzhu 41697d58d3 Handle preload 2020-05-07 10:03:48 +08:00
Jinzhu 8def7be583 Add context to logger 2020-05-05 21:28:38 +08:00
Jinzhu 9dfed613db Test inner joins 2020-04-29 23:47:18 +08:00
Jinzhu 85246682c8 Test update associations 2020-04-29 22:15:05 +08:00
Jinzhu 70d60ef72f Fix create join table 2020-04-29 20:37:06 +08:00
Jinzhu 85f3174467 Test has many associations 2020-04-22 09:38:32 +08:00
Jinzhu 43a814ae70 Add bulk create associations tests 2020-04-20 11:47:29 +08:00
Jinzhu 7bcd95d4b8 Add save associations for bulk create 2020-04-19 23:11:56 +08:00
Jinzhu 158bacefbe Add save has many relations 2020-04-19 14:29:31 +08:00